ByRecordDocs
byrecord.com›

Webhook events

Every event the platform sends, when it is sent, and exactly what its payload carries.

Each event is delivered as described on Webhooks: a signed POST with a JSON body.

JSON
Field
idThe event's ID (evt_…). The same for every delivery of the event: de-duplicate on it.
typeOne of the types below.
createdAtWhen the moment happened, in UTC.
dataThe 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
accountIdacc_…
accountNameThe account's name
quoteIdquo_…
quoteNumberQ-001234
quoteVersionThe quote's version
contractIdcon_…
opportunityUrlThe CRM opportunity link, as sent on the quote
opportunityIdThe 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
contactNameThe quote's contact
JSON

quote.accepted

The customer accepted. The agreement has been generated and contractId is set.

Field
acceptedNameWho accepted
acceptedEmailTheir email

contract.signed

The customer signed the agreement.

Field
signerNameWho signed
signerEmailTheir email
contractTitleThe agreement's title

payment_method.saved

The customer saved a card or a bank account. Once per deal, however many methods follow.

Field
paymentMethodIdpme_…
kindcard 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
serviceStartDateYYYY-MM-DD: the date service started

billing.live

The deal's first invoice went out.

Field
invoiceIdinv_…
invoiceNumberINV-2026-000123
scheduleIdsch_…: the billing schedule it belongs to
amountCentsThe invoice's total, in cents
currencyusd 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
occurrenceIddec_… for a suspension or restore decision; sva_… for a change made on your side
locationsYour location ids that this occurrence changed
locationsInServiceYour location ids that stay in service. Sent only for a customer billed by location; see below
reasonA sentence saying why, for your records. Not a code: do not branch on it
reportedAtWhen 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.

JSON

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.

JSON

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
occurrenceIdsva_…
locationsThe 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 2xx within 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 createdAt to order events about one deal, and fetch the quote with GET /quotes/:id when 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.
© 2026 ByRecord · byrecord.com · Status