Each event is delivered as described on Webhooks: a signed POST with a JSON body.
| Field | |
|---|---|
id | The event's ID (evt_…). The same for every delivery of the event: de-duplicate on it. |
type | One of the types below. |
createdAt | When the moment happened, in UTC. |
data | The deal's identifiers, plus what the moment adds. |
The deal, in every event
Every event's data carries the deal it belongs to. Any of these may be null: an event can come before a contract exists.
| Field | |
|---|---|
accountId | acc_… |
accountName | The account's name |
quoteId | quo_… |
quoteNumber | Q-001234 |
quoteVersion | The quote's version |
contractId | con_… |
opportunityUrl | The CRM opportunity link, as sent on the quote |
opportunityId | The opportunity id taken from it |
Match events to your records on opportunityId or quoteId. Payloads never carry cost, margin, internal notes or fee details.
Deal moments
A deal moment is sent once per deal: a replayed or repeated moment (a second click on accept, a second payment method) sends nothing new. quote.viewed is the exception: once per quote version.
The diagram is the usual order, not a promise. A deal billed from a set date has no installation.recorded before billing.live, a payment method can be saved before installation or after it, and deliveries can arrive out of order. Act on each event on its own.
quote.viewed
The customer opened the proposal link. Once per version, so a revised quote is reported again when it is opened.
| Field | |
|---|---|
contactName | The quote's contact |
quote.accepted
The customer accepted. The agreement has been generated and contractId is set.
| Field | |
|---|---|
acceptedName | Who accepted |
acceptedEmail | Their email |
contract.signed
The customer signed the agreement.
| Field | |
|---|---|
signerName | Who signed |
signerEmail | Their email |
contractTitle | The agreement's title |
payment_method.saved
The customer saved a card or a bank account. Once per deal, however many methods follow.
| Field | |
|---|---|
paymentMethodId | pme_… |
kind | card or us_bank_account |
Only the kind is sent. Card and account numbers never leave the payment processor.
installation.recorded
Installation was recorded as complete. For a deal that bills from installation, billing starts now.
| Field | |
|---|---|
serviceStartDate | YYYY-MM-DD: the date service started |
billing.live
The deal's first invoice went out.
| Field | |
|---|---|
invoiceId | inv_… |
invoiceNumber | INV-2026-000123 |
scheduleId | sch_…: the billing schedule it belongs to |
amountCents | The invoice's total, in cents |
currency | usd or cad |
Service events
Service events report changes to a customer's service, which can happen many times on one deal. Each is sent once per occurrence, named by data.occurrenceId. The deal's owner is not emailed about them; your service team is told the same minute by email (and Slack, if set up), and your systems by these events. See Collections and service control.
| Field | |
|---|---|
occurrenceId | dec_… for a suspension or restore decision; sva_… for a change made on your side |
locations | Your location ids that this occurrence changed |
locationsInService | Your location ids that stay in service. Sent only for a customer billed by location; see below |
reason | A sentence saying why, for your records. Not a code: do not branch on it |
reportedAt | When your service team was told, or null if neither email nor Slack got through |
service.suspended
ByRecord suspended the customer's service for non-payment, after every rule held and a named person confirmed it. locations lists the locations your API actually suspended.
service.restored
Service was restored: after a payment, a credit, an accepted proof of payment, the standing job's re-check, or a restore by an admin. A restore that your API did not take the first time is retried, and reported when it lands.
service.reversed
Your side put back in service a location ByRecord had suspended: the platform noticed it in its regular read of your locations. The account goes on hold, so nobody suspends it again before talking to you, and reads as active once none of its locations is off. There is no reason or reportedAt.
| Field | |
|---|---|
occurrenceId | sva_… |
locations | The locations found back in service |
Customers billed by location
For a customer whose billing is split into bills by location, a suspension or restore of one bill covers only that bill's locations. service.suspended and service.restored then also carry locationsInService: the location ids that stay in service, so you can tell a partial suspension from a whole one. For a customer billed as one, do not rely on it: read locations.
Handling events well
- Answer fast. Return
2xxwithin 10 seconds, then do the work. A slow answer is a failed delivery, and it will be retried. - De-duplicate on the event
id. Deliveries can repeat. - Expect any order. Use
createdAtto order events about one deal, and fetch the quote withGET /quotes/:idwhen you need its current state. - Ignore what you do not know. New event types and new fields may be added. Unknown ones should be skipped, not refused.
- Subscribe narrowly. An endpoint can ask for only the types it handles.