Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Lists
Get the subscriptions for a list
Get the list’s subscriptions.
GET
/
lists
/
{list_id}
/
subscriptions
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/lists/{list_id}/subscriptions \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"paging": {
"cursor": "<string>",
"more": true
},
"items": [
{
"recipientId": "<string>",
"created": "<string>",
"preferences": {
"categories": {},
"notifications": {}
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
A unique identifier representing the list you wish to retrieve.
Query Parameters
A unique identifier that allows for fetching the next set of list subscriptions
Response
200
application/json
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/lists/{list_id}/subscriptions \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"paging": {
"cursor": "<string>",
"more": true
},
"items": [
{
"recipientId": "<string>",
"created": "<string>",
"preferences": {
"categories": {},
"notifications": {}
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.