Skip to main content

PUT /lists/:list_id/subscriptions

PUThttps://api.courier.com/lists/:list_id/subscriptions
Subscribe multiple recipients to a list (note: if the List does not exist, it will be automatically created)
PATH PARAMS
list_idstringrequired
A unique identifier associated with the list you wish to retrieve.
BODY PARAM
recipientsarray
An array of list subscriptions
Responses
204 Successfully subscribed
AUTH TOKEN
curl --request PUT \
--url https://api.courier.com/lists/example.list.id/subscriptions \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '
{
"recipients": []
}
'
Response Example
Empty