Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Audiences
List all audiences
Get the audiences associated with the authorization token.
GET
/
audiences
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/audiences \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"items": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"filter": {
"operator": "ENDS_WITH",
"value": "<string>",
"path": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>"
}
],
"paging": {
"cursor": "<string>",
"more": true
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
A unique identifier that allows for fetching the next set of audiences
Response
200
application/json
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/audiences \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"items": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"filter": {
"operator": "ENDS_WITH",
"value": "<string>",
"path": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>"
}
],
"paging": {
"cursor": "<string>",
"more": true
}
}
Assistant
Responses are generated using AI and may contain mistakes.