POST
/
profiles
/
{user_id}
/
lists
curl --request POST \
  --url https://api.courier.com/profiles/{user_id}/lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "lists": [
    {
      "listId": "<string>",
      "preferences": {
        "categories": {},
        "notifications": {}
      }
    }
  ]
}'
{
  "status": "SUCCESS"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

A unique identifier representing the user associated with the requested profile.

Body

application/json
lists
object[]
required

Response

200
application/json
status
enum<string>
required
Available options:
SUCCESS