Pause Delivery
/v1/broadcasts/{id}/pausePause dispatch. Messages already handed off to WhatsApp cannot be recalled.
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
| Name | In | Required | Type / constraints | Description |
|---|---|---|---|---|
id | path | Yes | string | The broadcast campaign ID, bc_... |
Request body
A request body is required.
Request body fields
| Field | Type | Required | Description |
|---|---|---|---|
reason | string | No | The 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
| Status | Description |
|---|---|
200 | OK |
4xx | Client 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).