Skip to main content

List all audiences

GEThttps://api.courier.com/audiences
Get the audiences associated with the authorization token.
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?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA \
--header 'Accept: application/json'
Response Example
{
"items": [
{
"id": "developer-audience",
"name": "Developer Audience",
"description": "Audience for developers",
"filter": {
"operator": "EQ",
"value": "engineer",
"path": "title"
}
}
],
"paging": {
"cursor": "randomcursor",
"more": true
}
}

Example

Method: GET

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