cancel Campaign
cancel Campaign with the Mailly email API for AI agents: POST /campaigns/{campaignKey}/cancel. Parameters, request body, responses and code samples.
POST
pause/resume/cancel/complete transitions; cancel stops scheduled dispatch, and cancel/complete clean up inline images.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
campaignKey*stringcampaign stable key
Transitioned
application/json- response
success*booleancampaign*[key: string]?unknowncurl -X POST 'https://api.mailly.site/campaigns/string/cancel'{ "success": true, "campaign": { "property1": null, "property2": null }, "property1": null, "property2": null}Campaign recipient list GET
Campaign recipient list with the Mailly email API for AI agents: GET /campaigns/{campaignKey}/recipients. Parameters, request body, responses and code samples.
complete Campaign POST
complete Campaign with the Mailly email API for AI agents: POST /campaigns/{campaignKey}/complete. Parameters, request body, responses and code samples.