PUT
/
lists
/
{list_id}
/
subscriptions
/
{user_id}
curl --request PUT \
  --url https://api.courier.com/lists/{list_id}/subscriptions/{user_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "preferences": {
    "categories": {},
    "notifications": {}
  }
}'

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.

user_id
string
required

A unique identifier representing the recipient associated with the list

Body

application/json
preferences
object