Audiences
Audit Events
AuthTokens
Inbound
Lists
Messages
Notifications
Profiles
Tenants
Translations
User Preferences
User Tenants
Lists
Post subscribe
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.