Audiences
Audit Events
AuthTokens
Inbound
Lists
Messages
Notifications
Profiles
Tenants
Translations
User Preferences
User Tenants
Profiles
Subscribed list
GET
/
profiles
/
{user_id}
/
lists
curl --request GET \
--url https://api.courier.com/profiles/{user_id}/lists \
--header 'Authorization: Bearer <token>'
{
"paging": {
"cursor": "<string>",
"more": true
},
"results": [
{
"id": "<string>",
"name": "<string>",
"created": "<string>",
"updated": "<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 user associated with the requested profile.
Query Parameters
A unique identifier that allows for fetching the next set of message statuses.
Response
200
application/json
An array of lists
List name
The date/time of when the list was created. Represented as a string in ISO format.
The date/time of when the list was updated. Represented as a string in ISO format.
curl --request GET \
--url https://api.courier.com/profiles/{user_id}/lists \
--header 'Authorization: Bearer <token>'
{
"paging": {
"cursor": "<string>",
"more": true
},
"results": [
{
"id": "<string>",
"name": "<string>",
"created": "<string>",
"updated": "<string>",
"preferences": {
"categories": {},
"notifications": {}
}
}
]
}