Skip to main content
POST
Create a subscription

Authorizations

authorization
string
header
required

Token-based authentication. Use format: "Token token=<API_KEY>" where <API_KEY> is your API key

Body

application/json
subscription
object

Response

Subscription created. If validation fails the response is still 200 but the body contains an errors array instead of data.

Returned with HTTP 200 in both the success and the validation-failure case. Check for the presence of errors.

data
object
errors
string[]

Validation messages, present only when the create failed