Help article templates / Product help
Help article template: set up webhooks
A webhooks article needs five things a developer can act on: where to add an endpoint, the list of events, one real payload example, how to verify the signature, and your retry rules (timeout, how many attempts, over how long). Missing retry rules are the most common reason developers open tickets about "lost" events.
For: SaaS products with a developer API · Updated 10 Nov 2026
Developers skim webhook docs with an editor open. They want to copy a payload into a test, copy a signature check into their handler and know when you will give up retrying. Long explanations of what a webhook is can go; one sentence is enough.
Be exact about delivery semantics. Most webhook systems deliver at least once, which means duplicates are possible, and order is not guaranteed. Saying so up front, with an event ID for de-duplication, prevents a whole class of support bugs.
What the article must cover
- Where to add, pause and delete endpoints, and who can do it.
- The event list with one-line descriptions.
- A full example payload with headers.
- Signature verification steps with a code snippet.
- Timeouts, retries, backoff and when an endpoint is disabled.
- Delivery guarantees: at least once, possible duplicates, ordering.
The template
Replace everything in [brackets] with your own details, and delete rows that don't apply.
# Set up webhooks
Webhooks send an HTTPS POST to your server when something happens in [Product].
## Add an endpoint
**Settings → Developers → Webhooks → Add endpoint.** Enter an HTTPS URL and pick events. Admins only.
## Events
| Event | When it fires |
| --- | --- |
| [order.created] | A new [order] is created |
| [order.updated] | Any field on an [order] changes |
| [customer.deleted] | A [customer] is deleted |
## Example delivery
```
POST /your/webhook
X-Example-Event: [order.created]
X-Example-Id: [evt_8f2c]
X-Example-Signature: t=[1762770000],v1=[hex digest]
{"id":"[evt_8f2c]","type":"[order.created]","created":[1762770000],"data":{"id":"[ord_123]","total":[1499]}}
```
## Verify the signature
1. Take the timestamp t and the raw request body.
2. Compute HMAC-SHA256 of "t.body" with your endpoint secret.
3. Compare it to v1 with a constant-time comparison, and reject timestamps older than [5] minutes.
## Retries
- Respond with any 2xx within [10] seconds.
- Otherwise we retry [8] times over [24] hours with increasing gaps.
- After [3] days of failures we disable the endpoint and email the admins.
## Good to know
- Deliveries are **at least once**: use the event id to ignore duplicates.
- Order isn't guaranteed: check the created timestamp.
- Replay any event from the last [30] days under **Webhooks → Deliveries**.Mistakes to avoid
- No example payload, so developers have to trigger real events to see the shape.
- Not documenting the retry schedule and auto-disable rule.
- Telling developers to verify the parsed JSON instead of the raw body, which breaks signatures.
- Promising exactly-once or ordered delivery when the system doesn't guarantee it.
Questions
- Why must webhook handlers respond quickly?
- Senders wait only a few seconds before treating the delivery as failed and retrying. Handlers should store the event, return 2xx, and do slow work in a background job.
- How do developers test webhooks locally?
- Suggest a tunnel such as ngrok or Cloudflare Tunnel, or a "send test event" button in your dashboard. Mention both if you have them.
- Should the article include code?
- Yes, one short signature-check snippet in the language most of your customers use, plus a link to SDK helpers if you have them. Developers copy it directly.
Publish it in a help center
In HelpCenterKit you can save this as an article template, send it for approval, and publish it to a help center where readers get AI answers that cite it. Free for your first 15 days, no card.