Get a broadcast's audience counts
Returns a live estimate of how many contacts the broadcast can reach, narrowing from everyone in its audience down to the ones the send would go to.
- total is every contact in the audience.
- addressable is how many of those have an email address.
- sendable is how many addressable contacts are not suppressed for the broadcast's category.
A transactional broadcast still reaches a contact who unsubscribed from or complained about marketing mail. A marketing broadcast does not.
The estimate can change until the broadcast sends. The broadcast must have an audience selected; otherwise, the request returns 422.
These are audience numbers, and sending does not change them: after a send they still describe who the broadcast resolved to, not what happened to them. status says which of the two situations you are in. For delivery outcomes, read the broadcast's recipients for per-recipient status, its events for the raw feed, or email statistics by broadcast for the aggregates.
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/email/broadcasts/{broadcast_id}/counts
- Auth: one of:
- HTTP bearer
- API key in cookie bird_session
Path parameters
Broadcast identifier. Starts with eb_.
Headers
Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.
Response
The broadcast's audience counts.
Example response
{
"broadcast_id": "eb_01krdgeqcxet5s7t44vh8rt9mg",
"total": 13000,
"addressable": 12500,
"sendable": 12000
}Changes
No recorded changes to this operation across all 2 revisions of this API.