Audiences
List audience contacts
List all contacts in an audience with cursor-based pagination. The account is inferred from the audience.
get/audiences/{audience_id}/contacts
Path parameters
audience_idstring required
The audience ID to list contacts for.
Example:aud_01j9a43avnfqzbjfch6pygv1td
Query parameters
afterstring
Cursor for forward pagination. Use the next_cursor from a previous response.
beforestring
Cursor for backward pagination. Use the previous_cursor from a previous response.
Response
List of contacts
Example response
{
"data": [
{
"email": "dom@toretto.family",
"first_name": "Dominic",
"id": "ctc_01j9dy8mdzfn3r0e8x1tbdrdrf",
"last_name": "Toretto",
"metadata": {
"car": "1970 Dodge Charger R/T"
},
"phone_number": "+18015551234"
}
],
"pagination": {
"next_cursor": null,
"previous_cursor": null
}
}