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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

list_id
string
required

A unique identifier representing the list you wish to retrieve.

Body

application/json
recipients
object[]
required