List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
const url = 'https://api.pingram.io/broadcasts';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.pingram.io/broadcasts \ --header 'Authorization: Bearer <token>'Authorizations
Parameters
Query Parameters
Max broadcasts to return (default 50)
Pagination token
Responses
200
Successful response
object
object
Audience on a broadcast list row. Exactly one of filter (the live Mongo-style query) or emailCount (size of a raw email list). Addresses are omitted here; get, create, and update return audience.emails.
object
object
Number of addresses when the audience is a raw email list.
UUIDv7 (time-ordered).
Lifecycle status of an email broadcast.
Notification type id. Required before send or schedule.
Email-only in v1; forward-compatible field.
ISO datetime for scheduled broadcasts.
Set when the user archives the broadcast; hidden from the default list.
Example
{ "broadcasts": [ { "status": "draft", "pausedReason": "PAUSED_BY_USER", "channel": "email" } ]}400
Bad Request - validation errors, invalid input
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}401
Unauthorized
402
Payment Required - usage limits exceeded
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}500
Internal Server Error
502
Bad Gateway - provider error
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}