Notification Policies
Add notification types to a policy
Add new notification types to an existing Notification Policy.
POST
/
notifications
/
policies
/
{id}
/
notification-types
Headers
Authorization
string
requiredYour 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
requiredNotification policy ID
Body
application/json
notificationTypes
enum<string>[]
requiredThe notification types to add to this policy
Available options:
CUSTOMER_CREATED
, CUSTOMER_UPDATED
, CUSTOMER_ARCHIVED
, INVOICE_CREATED
, INVOICE_ISSUED
, INVOICE_UPDATED
, INTEGRATION_SYNC_COMPLETED
, INTEGRATION_WEBHOOK_HANDLED
, MERCHANT_UPDATED
, BILLING_SCHEDULE_CREATED
, BILLING_SCHEDULE_UPDATED
, BILLING_SCHEDULE_ARCHIVED
, CREDIT_NOTE_CREATED
, CREDIT_NOTE_UPDATED
, CREDIT_NOTE_ISSUED
, QUOTE_PUBLISHED
, QUOTE_ACCEPTED
Response
200 - application/json
id
string
requiredUnique ID
createdAt
string
requiredCreated at
sequenceAccountId
string
requiredSequence Account which this policy matches
name
string
requiredHuman-readable name
recipients
string[]
requiredThe webhook URLs or email addresses which will receive notifications, depending on the channel
channel
enum<string>
requiredNotification channel
Available options:
WEBHOOK
, EMAIL
notificationTypes
enum<string>[]
Set of notification types that this policy matches. If not present this policy will cover all notification types.
Available options:
CUSTOMER_CREATED
, CUSTOMER_UPDATED
, CUSTOMER_ARCHIVED
, INVOICE_CREATED
, INVOICE_ISSUED
, INVOICE_UPDATED
, INTEGRATION_SYNC_COMPLETED
, INTEGRATION_WEBHOOK_HANDLED
, MERCHANT_UPDATED
, BILLING_SCHEDULE_CREATED
, BILLING_SCHEDULE_UPDATED
, BILLING_SCHEDULE_ARCHIVED
, CREDIT_NOTE_CREATED
, CREDIT_NOTE_UPDATED
, CREDIT_NOTE_ISSUED
, QUOTE_PUBLISHED
, QUOTE_ACCEPTED
webhookSecret
string
Webhook secret used to generate a signature header that's sent with an outbound webhook.It can be used to verify the authenticity of received Sequence webhooks. Only available for webhook channel policies.