List the current account's broadcast campaigns
/v1/broadcastsList the current account's broadcast campaigns, with dispatch progress and delivery result counts.
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
| Name | In | Required | Type / constraints | Description |
|---|---|---|---|---|
limit | query | No | integer 1..200 | Defaults to 50. Values above 200 are treated as 200; non-positive or unparseable values are treated as 50 |
before | query | No | ISO 8601 | Pagination: pass the broadcast.createdAt of the last entry on the previous page. An unparseable value returns 400 VALIDATION_FAILED |
idempotencyKey | query | No | string | Find the campaign created with this Idempotency-Key (0 or 1 entries) |
phoneNumberId | query | Required for customer Keys | string | Return only campaigns sent from this number (pn_...). A customer Key must pass a number its customer entity owns, otherwise 403 |
Response
| Status | Description |
|---|---|
200 | OK |
4xx | Client error |
For the common error envelope and how to handle it, see Error Codes.
Notes
limit defaults to 50 with a ceiling of 200; entries are sorted by creation time, newest first. Page with before (an ISO timestamp: the broadcast.createdAt of the last entry on the previous page). idempotencyKey finds a campaign by the Idempotency-Key used when creating it (0 or 1 entries) — use it to check whether a create request whose outcome is unknown actually created the campaign. phoneNumberId limits the list to one sending number and combines with the other filters. Each entry carries two separate sets of counts, dispatch (dispatch progress) and delivery (delivery outcome), which mean different things — see GET /v1/broadcasts/{id}.