Skip to main content

GET /audiences/:audience_id/members

GEThttps://api.courier.com/audiences/:audience_id/members
Get list of members of an audience.
PATH PARAMS
audience_idstringrequired
A unique identifier representing the audience_id
QUERY PARAMS
cursorstring
A unique identifier that allows for fetching the next set of audiences
Responses
AUTH TOKEN
curl --request GET \
--url https://api.courier.com/audiences/developer-audience/members?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA \
--header 'Accept: application/json'
Response Example
{
"items": [
{
"member_id": "suhas_deshpande",
"added_at": "2020-01-01T00:00:00.000Z",
"audience_id": "developer-audience",
"audience_version": 1,
"reason": "\"EQ('title', 'Software Engineer') => true\""
}
],
"paging": {
"cursor": "randomcursor",
"more": true
}
}

Example

Method: GET

URL: https://api.courier.com/audiences/abcdefgh12345678/members