API referenceCampaigns
Delete a campaign
DELETE
/campaigns/{id}Drafts, campaigns scheduled but not started, and canceled campaigns.
Authorization
apiKey AuthorizationBearer <token>
A project API key: Authorization: Bearer s0_…
In: header
Path Parameters
id*string
Length
1 <= length <= 64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/campaigns/string"{ "object": "campaign", "id": "string", "deleted": true}Update a campaign PATCH
Drafts only.
Send or schedule a campaign POST
Sends now, or at `scheduled_at` (ISO 8601 or natural language, up to 30 days ahead). Needs from, subject, content, an audience, a verified sending domain and a physical address in the marketing settings. The audience is snapshotted when sending starts.