Create Notification policy
Create a new Notification Policy, which will send matching ” + “notifications to the recipients you specify.
Headers
Your API credentials. Eg. Basic {credentials}
.
Use this header to select an API version
2024-07-30
Body
Human-readable name
Set of notification types that this policy matches. If not provided, then this policy will apply to all notification types.
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
The webhook URLs or email addresses which will receive notifications, depending on the channel
Notification channel
WEBHOOK
, EMAIL
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.
Response
Unique ID
Created at
Sequence Account which this policy matches
Human-readable name
Set of notification types that this policy matches. If not present this policy will cover all notification types.
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
The webhook URLs or email addresses which will receive notifications, depending on the channel
Notification channel
WEBHOOK
, EMAIL
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.