POST
/
notifications
/
policies
/
{id}
/
recipients
curl --request POST \
  --url https://eu.sequencehq.com/api/notifications/policies/{id}/recipients \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "recipients": [
    "operations@example.com"
  ]
}'
{
  "id": "9c4c54e7-59da-44ae-9cc5-7fd81be7c133",
  "createdAt": "2022-06-28T16:47:00Z",
  "sequenceAccountId": "c4602d51-0fb4-4b48-b689-6ba28f540d1e",
  "name": "Finance team emails",
  "notificationTypes": [
    "CUSTOMER_CREATED"
  ],
  "recipients": [
    "finance@example.com",
    "operations@example.com"
  ],
  "channel": "EMAIL"
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Notification policy ID

Body

application/json

Response

200
application/json

OK

The response is of type object.