Audiences (deprecated)
List an audience's contacts
Deprecated (as in Resend): newest first, 100 a page unless `limit` says otherwise.
Deprecated
GET
Deprecated (as in Resend): newest first, 100 a page unless limit says otherwise.
bearerheader
AuthorizationBearer <token>id*stringFormat
uuidlimit?integer1–100, default 100.
Range
0 <= valueafter?stringA contact id: the page of older contacts after it.
before?stringA contact id: the page of newer contacts before it.
Success
application/json- response
A list response (object: "list").
data*array<>has_more*booleanobject*stringcurl -X GET 'https://api.exx.sh/audiences/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts'Example Response
{ "data": [ { "created_at": "string", "email": "string", "first_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_name": "string", "unsubscribed": true } ], "has_more": true, "object": "string"}Delete an audience DELETE
Deprecated (as in Resend): deletes the segment and its memberships; its contacts stay.
Add a contact to an audience POST
Deprecated (as in Resend): a new contact in the audience, or, for an address the project has, that contact joins it (and unsubscribes with `unsubscribed: true`; an unsubscribe is never undone here); its id is the answer.