Campaigns
Cancel Campaign
Cancels a scheduled campaign, or stops one that is still sending, and returns it with status cancelled. Messages not yet sent are cancelled; messages already sent stay sent. Cancelling a cancelled campaign returns it unchanged.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Unique identifier for the resource.
Format
uuidResponse Body
application/json
curl -X POST "https://api.getmateo.com/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "name": "string", "status": "cancelled", "sendout_mode": "once", "schedule": null, "send_after": "2019-08-24T14:15:22Z", "last_sendout_date": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}Update Calendar PATCH
Updates the specified calendar.
Create Campaign POST
Creates a new draft campaign. Call `POST /v1/campaigns/{id}/send` to send or schedule it; setting `send_after` alone does not schedule delivery. Channels without a `priority` are assigned the next free priority, starting at 1, in the order they are listed.