Lists
Add subscribers to a list
Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Lists
Add subscribers to a list
Subscribes additional users to the list, without modifying existing subscriptions. If the list does not exist, it will be automatically created.
POST
/
lists
/
{list_id}
/
subscriptions
curl --request POST \
--url https://api.courier.com/lists/{list_id}/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"recipients": [
{
"recipientId": "<string>",
"preferences": {
"categories": {},
"notifications": {}
}
}
]
}'
This response has no body data.
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.
Body
application/json
curl --request POST \
--url https://api.courier.com/lists/{list_id}/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"recipients": [
{
"recipientId": "<string>",
"preferences": {
"categories": {},
"notifications": {}
}
}
]
}'
This response has no body data.