Skip to main content

GET /lists/:list_id

GEThttps://api.courier.com/lists/:list_id
Get the list items.
PATH PARAMS
list_idstringrequired
A unique identifier associated with the list you wish to retrieve.
Responses
AUTH TOKEN
curl --request GET \
--url https://api.courier.com/lists/example.list.id \
--header 'Accept: application/json'
Response Example
{
"created": "2020-06-10T18:41:29.093Z",
"id": "example.list.id",
"name": "Example List Name",
"updated": "2020-06-10T18:41:29.093Z",
"preferences": {
"notifications": {
"{KEY}": {
"channel_preferences": [
{
"channel": "direct_message"
}
],
"rules": [
{
"type": "snooze"
}
],
"status": "OPTED_IN"
}
},
"categories": {
"{KEY}": {
"channel_preferences": [
{
"channel": "direct_message"
}
],
"rules": [
{
"type": "snooze"
}
],
"status": "OPTED_IN"
}
},
"templateId": "W951R8G37V49KZMK8DEKW8Z588BZ"
}
}