The platform tells your systems as each deal in the programme moves. Endpoints are added on the API & webhooks page, by the same people who manage API keys, each with the event types it wants. None ticked means all of them.
Events
| Event | When |
|---|---|
quote.viewed | The customer opened the proposal link. Once per version |
quote.accepted | The customer accepted; the agreement was generated |
contract.signed | The customer signed the agreement |
payment_method.saved | The customer saved a card or bank account |
installation.recorded | Installation was recorded as complete |
billing.live | The first invoice went out |
service.suspended | ByRecord suspended the customer's service for non-payment |
service.restored | Service was restored |
service.reversed | Your side put back in service a location ByRecord had suspended |
Each deal moment is sent once per deal; a service event once per occurrence. Every field of every payload is on Webhook events.
Delivery
A POST of JSON to the endpoint's URL:
data always carries accountId, accountName, quoteId, quoteNumber, quoteVersion, contractId, opportunityUrl and opportunityId (any may be null), plus what the moment adds: the accepting or signing person's name and email, for instance.
Retries
Answer any 2xx within 10 seconds. Anything else (another status, a timeout, a redirect) is a failure, retried after 1, 5, 30, 120, 360, 720 and 1440 minutes: eight attempts over about a day and a half, after which the delivery is marked failed. The same page shows every delivery's attempts and last answer, and Send again, on a delivery that failed, sends it again as a new delivery with the same event id.
De-duplication
Deliveries can arrive more than once (a resend, or a retry after a timeout you did answer) and out of order. The X-ByRecord-Event-Id header and the body's id are the same for every delivery of one event: de-duplicate on it.
Verifying the signature
X-ByRecord-Signature is t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256, keyed with the endpoint's signing secret, of the string
To verify:
- Read the raw body bytes. Do not parse and re-serialise the JSON first: key order and whitespace would change, and so would the digest.
- Split the header on
,intotandv1. - Compute
HMAC_SHA256(secret, t + "." + body)as lowercase hex. - Compare it to
v1in constant time. - Refuse a
tmore than five minutes from your clock, so a captured delivery cannot be replayed later.
The signing secret (whsec_…) is shown once, when the endpoint is created or its secret is rotated.
Worked example
With the secret
the timestamp t=1792411200 (2026-10-19 12:00:00 UTC), and this 512-byte body, exactly as received (one line, no trailing newline):
the signed string is 1792411200. followed by that body, and its HMAC-SHA256 is
so the header reads
Step 5 would refuse this example today; skip it when checking the arithmetic.
Node
Python
Endpoint URLs
- Production and the sandbox require
https, and refuse URLs written as loopback, private or link-local addresses, or aslocalhost. A URL cannot carry a username or password: authenticate deliveries by their signature. - A hostname is checked again when each delivery connects: every address it resolves to must be public (not private, loopback, link-local such as a cloud metadata address, carrier-grade NAT, multicast or reserved), and the connection goes to the address that was checked, so a name cannot pass the check and then resolve elsewhere.
- A delivery's recorded error is in our own words only ("Answered 405", "Could not connect to the endpoint", "No answer within 10 seconds", or why it was refused). What your endpoint answered is never stored or shown.
Rehearsing
Outside production, the platform has its own receiver at POST /api/partner/v1/webhook-echo. It verifies each signature exactly as above and answers 200 when it holds and 400 when it does not, so a delivery to it shows on the API & webhooks page as delivered or failed for the right reason.