Skip to main content
POST
Create a campaign mailing

Authorizations

authorization
string
header
required

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

Body

application/json
campaign_mailing
object

Response

The new campaign mailing's ID. 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 write failed