GET /v1/rfq/{id}, GET /v1/search/{id} or GET /v1/compare/{id}.
Register an endpoint
secret, the only time it is shown. Store it with your
other secrets. The address must be https:// and on the public internet.
GET /v1/webhooks lists your endpoints, never their
secrets, and DELETE /v1/webhooks/{id} stops
sending to one.
Who receives what
- An endpoint registered with one of your organization’s own keys receives every event of your organization.
- An endpoint registered with a key you created for one of your customers
(Serving your own customers) receives only that
customer’s events. Each event carries the customer’s
end_customer_id.
Check every event
Every event is signed in the Standard Webhooks format, with the headerswebhook-id, webhook-timestamp and webhook-signature. Check the signature with your
endpoint’s secret before trusting the body; the Standard Webhooks libraries do it in one call:
400
and ignore it.
Rotating a signing secret
To replace an endpoint’s secret without missing an event:- Register the same address again with
POST /v1/webhooks, using the same key as before, so the new endpoint receives the same events. Store the newsecretit returns. - Accept an event signed with either secret. While both endpoints exist, each event is sent to both,
with the same
webhook-id: ignore the repeat as you would any other. - Once your server checks events with the new secret, delete the old endpoint with
DELETE /v1/webhooks/{id}. Its ID is inGET /v1/webhooks. Any delivery still being retried to the old endpoint stops.
Answer quickly, and expect repeats
- Answer with any
2xxwithin 15 seconds. Do the work afterwards; the event only names the request for quote, the search or the comparison. - Anything else, or no answer, is retried, over about three days.
- An event can arrive more than once.
webhook-idis the same on every attempt: use it to ignore a repeat.
When deliveries fail
The console’s Webhooks page shows each delivery’s status and your server’s Last answer. See Console.
The four events and their fields are in the API reference.