Create a campaign for a saved segment or up to 1,000 recipients, with an approved template (WhatsApp Official), a text (WhatsApp unofficial) or an email. Every slot of the template must be mapped — call Preview Campaign first to see the problems and a rendered sample without creating anything.
The campaign is prepared in the background (recipients matched to their chats, messages rendered): preparation.state is preparing until it is ready and the campaign sends at scheduleAt (or right away). Recipients who can't be messaged on the channel are skipped and counted in preparation.stats. Use GET …/{campaignId} or the campaign.completed webhook to follow it.
Security:
- The
organisationIdin the URL must match the organisation your JWT was issued for — requests for a different organisation fail with 401. - Requires
CRM_ADMIN,ACCOUNT_OWNER, orCRM_BOTrole; other roles receive 403.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200Replayed — the campaign this Idempotency-Key already created
400Bad request — the body is invalid; problems lists what does not fit the template or which recipients are invalid
401Unauthorized — invalid/expired JWT or organisation ID does not match the token
403Forbidden — role not permitted
404Channel, template, segment or source campaign not found
422Idempotency-Key reused with a different body
429Too many requests
503Campaign audiences are not available yet on this server
