WaveCDN API

Introduction

We provide a RESTful API for our customers and especially the resellers. Don't hesitate to contact us if you need support for the implementation or if you have feedback. We'd love to hear from you.

Location

Our API is located at https://api.wavecdn.com/v3/ - notice that it's only working with HTTPS.

Authentication

In order to use the API you need a user which has the permission for API access. If you are allowed to manage users by yourself you can add that permissions to your user. Otherwise you have to contact your account administrator. We recommend to create an extra user for the API usage.

The API uses HTTP basic authentication, which means that you need to provide the Authorization header to get authenticated.

Example:

Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

Samples

There's a PHP sample for invalidation urls. See the samples section.

Errors

If an error occurs, you get status codes of the 4xx or 5xx range. There should almost always be an xml error message, for example:

<?xml version="1.0" encoding="UTF-8"?>
<errors>
	<error>sub_domain: Already exists. Choose a different one.</error>
</errors>