Skip to main content

Recipient Details

GET/v1/broadcasts/{id}/recipients

Recipient details, with each row's delivery facts in delivery. status filters by dispatch status and deliveryStatus by delivery status.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers, with scope messages:read. 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_...
statusqueryNostringFilter by dispatch status: pending / dispatching / queued / failed / skipped / canceled. Any other value returns 400 VALIDATION_FAILED
deliveryStatusqueryNostringFilter by delivery status: accepted / sending / submitted / sent / delivered / read / failed. Any other value returns 400 VALIDATION_FAILED
afterqueryNostringPagination: pass the id of the last row on the previous page
limitqueryNointeger 1..1000Defaults to 200 (unlike other list endpoints). Out-of-range values are clamped

Response​

StatusDescription
200OK
4xxClient error

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

Notes​

status filters by dispatch status (pending / dispatching / queued / failed / skipped / canceled, the same keys as the dispatch counts); deliveryStatus filters by delivery status (accepted / sending / submitted / sent / delivered / read / failed). Any other value returns 400. They are different sets: status=failed means the platform could not dispatch to that recipient, while deliveryStatus=failed means the message was dispatched and Meta refused to deliver it. For a complete list of failures, pull both — do not add the two counts together.

Each row has id, toNumber / toUserId (the phone or BSUID actually used, with the other null; phone wins when both were supplied), reference (your identifier, returned verbatim and not used for deduplication), status, errorCode / errorMessage (why dispatch failed), messageId, dispatchedAt, and delivery: { status, wamid, errorCode, errorMessage, updatedAt } (null until the recipient has been dispatched; when the failure comes from Meta, errorCode is Meta's numeric code). For the full message record, messageId still points at GET /v1/messages/{id}.

Historical phone-only rows return toUserId: null. A BSUID's Business Portfolio scope cannot be validated locally; Meta rejects a mismatched scope, with no phone fallback or sender switch. 202 / dryRun does not guarantee delivery. Inspect dispatch or delivery errors here and GET /v1/messages/{messageId} for the full native Meta error.

Pagination: rows are sorted by id ascending; pass the id of the last row on the previous page as after. Fewer rows than limit means you have reached the end. limit defaults to 200 and is clamped between 1 and 1000. The total is dispatch.total from GET /v1/broadcasts/{id}.