This page is the reference for what Sequence sends and how. For a step-by-step integration walkthrough, see Set up webhooks.Documentation Index
Fetch the complete documentation index at: https://docs.sequencehq.com/llms.txt
Use this file to discover all available pages before exploring further.
Request format
Sequence delivers webhooks asPOST requests with Content-Type: application/json. Every payload has the same envelope:
resource field contains the state of the resource that triggered the event.
Example payload
ABILLING_SCHEDULE_CREATED delivery looks like this. The prices and phases arrays are simplified for readability; in real deliveries they contain the full pricing and phase structure for the schedule.
Sequence-Signature header
Every webhook includes a Sequence-Signature header containing a timestamp and an HMAC signature:
tis the delivery timestamp, in Unix milliseconds.sis an HMAC-SHA256 signature of${t}.${rawBody}, computed using the webhook’s signing secret.
t to mitigate replay attacks.
For working verification code, see Verify the signature in the integration guide.
Delivery
- Acknowledgement. Sequence considers any
2xxresponse a successful delivery. - Retries. Any non-
2xxresponse causes Sequence to retry. Retries continue for up to 24 hours, with exponential backoff.
Event catalog
| Event | Resource type | Triggered when |
|---|---|---|
CUSTOMER_CREATED | Customer | A customer is created |
CUSTOMER_UPDATED | Customer | A customer is updated |
CUSTOMER_ARCHIVED | Customer | A customer is archived |
INVOICE_CREATED | Invoice | An invoice is created |
INVOICE_ISSUED | Invoice | An invoice is issued |
INVOICE_UPDATED | Invoice | An invoice is updated |
BILLING_SCHEDULE_CREATED | BillingSchedule | A billing schedule is created |
BILLING_SCHEDULE_UPDATED | BillingSchedule | A billing schedule is updated |
BILLING_SCHEDULE_ARCHIVED | BillingSchedule | A billing schedule is archived |
CREDIT_NOTE_CREATED | CreditNote | A credit note is created |
CREDIT_NOTE_UPDATED | CreditNote | A credit note is updated |
CREDIT_NOTE_ISSUED | CreditNote | A credit note is issued |
QUOTE_PUBLISHED | Quote | A quote is published |
QUOTE_SIGNED | Quote | A quote is signed |
QUOTE_ACCEPTED | Quote | A quote is accepted |
MERCHANT_UPDATED | Merchant | Merchant-level settings are updated |