Skip to main content

Cancel Campaign

POST/v1/broadcasts/{id}/cancel

Cancel a campaign and void every recipient not yet dispatched to, all at once. Cannot be undone.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers, with scope messages:send. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
idpathYesstringThe broadcast campaign ID, bc_...

Response​

StatusDescription
200OK
4xxClient error

For the common error envelope and how to handle it, see Error Codes.

Notes​

Returns canceledRecipients (the number of pending recipients voided at that moment). Messages already dispatched cannot be recalled — WhatsApp has no unsend endpoint, so those messages are still delivered as scheduled and are still charged.

Cancellation takes effect before the dispatcher's next message: the dispatcher re-reads the campaign status before sending each message, so recipients claimed in the current round but not yet sent are voided right away (they will not receive anything after the cancel). The only window is the one message being handed to the send pipeline at the moment of cancellation. So besides canceledRecipients, a very small number of recipients in dispatching may turn canceled over the next few seconds; rely on the dispatch counts from GET /v1/broadcasts/{id}. Cancellation is final and cannot be resumed; to send to the remaining recipients, create a new campaign.