Campaigns
List campaign messages
GET/v1/campaigns/{id}/messages
Requires an API key with the campaigns:read scope. About keys and scopes
Delivery records for one campaign — one per contact per channel — including status and any provider failure reason. Filter with channel to see one channel. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null. The cursor is opaque — do not construct or parse one.
Path parameters
idstringrequireduuid
Query parameters
limitintegeroptionalmin > 0 · max 100 · default
20cursorstringoptional1–2048 characters
channelstringoptionalOnly this channel; a multi-channel campaign lists one row per contact per channel.
one of
email,pushstatusstringoptionalOnly messages in this status.
one of
queued,sending,skipped,sent,failed,delivered,bounced,complainedemailstringoptionalPart of the recipient's address, case-insensitive.
1–320 characters
openedstringoptionaltrue: opened (or clicked) at least once;false: never.one of
true,falseclickedstringoptionaltrue: a link clicked at least once;false: never.one of
true,false
Returns
Returns 200 OK with a list of CampaignDeliveryMessage objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
contactIdstring | nullrequiredNull when the contact was erased, or the message passed the retention period: the message no longer names anyone.
uuid
recipientAddressstring | nullrequiredThe email address it went to;
nullfor a push message.email
channelstringrequiredone of
email,pushstatusstringrequiredWhere the message is in delivery.
one of
queued,sending,skipped,sent,failed,delivered,bounced,complainedfailureReasonstring | nullrequiredWhy it failed or was skipped, if it did.
sentAtstring | nullrequiredWhen it was handed to the provider.
date-time
deliveredAtstring | nullrequiredWhen delivery was confirmed.
date-time
failedAtstring | nullrequiredWhen it failed.
date-time
openedAtstring | nullrequiredWhen it was first opened.
date-time
clickedAtstring | nullrequiredWhen a link was first clicked.
date-time
createdAtstringrequireddate-time