Skip to main content

Pause Delivery

POST/v1/broadcasts/{id}/pause

Pause dispatch. Messages already handed off to WhatsApp cannot be recalled.

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_...

Request body​

A request body is required.

Request body fields​

FieldTypeRequiredDescription
reasonstringNoThe reason for pausing, written into the campaign's pauseReason

Content-Type: application/json Schema:

{
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "string · optional — the reason for pausing, written into the campaign's pauseReason"
}
}
}

Response​

StatusDescription
200OK
4xxClient error

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

Notes​

Only valid for scheduled / running campaigns; other states return 409, with the current state given in details.status. When the balance runs out the platform automatically pauses the campaign and sets pauseReason to insufficient credit — after topping up, just call resume to continue sending to the remaining recipients; there is no need to recreate the campaign. Pausing takes effect before the dispatcher's next message, and recipients claimed in the current round but not yet sent go back to pending. Resume only continues with pending recipients; it does not resend to recipients whose dispatch failed (status=failed).