Standard Webhooks explained: the three headers and how to verify them
Standard Webhooks is an open spec for signing webhooks the same way everywhere. A signed request carries three headers, webhook-id, webhook-timestamp and webhook-signature, and the signature is an HMAC-SHA256 over "id.timestamp.body" made with a whsec_ secret. To verify one, recompute it over the raw body, check the timestamp is fresh, and use webhook-id to skip duplicates.
Last checked: 20 November 2026.
What Standard Webhooks is
It's a spec plus a set of libraries, so one library call can check any compliant sender. A community project runs it, guided by a technical steering committee with members from companies including Zapier, Twilio, ngrok, Supabase, Svix and Kong (standardwebhooks.com).
OpenAI, Anthropic and Resend all sign this way. On 5 November 2026, Hookdeck added Standard Webhooks signing and verification to its Event Gateway (Hookdeck changelog).
The three headers
| Header | What it holds | Svix spelling |
|---|---|---|
webhook-id | A unique ID for the message. It stays the same when a failed webhook is retried. | svix-id |
webhook-timestamp | When it was sent, in Unix seconds | svix-timestamp |
webhook-signature | One or more signatures, space-delimited, each like v1,<base64> | svix-signature |
Senders hosted on Svix, Resend among them, use the svix- names. The values and the maths are identical.
How verification works
- 1.Read the raw request body before any JSON parsing.
- 2.Build the signed content: the webhook-id, a full stop, the webhook-timestamp, a full stop, then the raw body.
- 3.Remove the whsec_ prefix from the secret and base64-decode what's left. Those bytes are the key.
- 4.Compute an HMAC-SHA256 of the signed content with that key, then base64-encode it.
- 5.Compare the result in constant time with every v1 entry in webhook-signature. One match is enough.
- 6.Reject the request if the timestamp falls outside your tolerance window.
The spec's official libraries do all six steps in one call. Our delivery signatures docs have a short Node.js version if you'd rather write it yourself.
Where people get it wrong
- Using the literal whsec_ string as the key. The key is the decoded bytes after the prefix.
- Verifying re-serialised JSON. The spec warns that even a stray space breaks a signature, so hash the bytes you received.
- Trusting only the first signature. During a rotation the match may be the second entry.
- Skipping the timestamp check, which lets a captured request be replayed later.
- Failing on entries you don't check. Asymmetric entries can sit alongside v1 ones, and if you only verify v1 you can skip them.
Rotation and idempotency
Because webhook-signature is a list, a sender can sign with its old and new secret at once while receivers switch over. The spec calls this zero-downtime rotation.
The webhook-id stays the same however many times a message is retried, so the spec suggests it as your idempotency key. Store it and skip anything you've already handled.
Using Standard Webhooks with SolidHooks
To receive, give a source the standard_webhooks verifier, or use the openai, anthropic or resend preset, which resolves to it. Any other sender uses provider generic with the same verifier. The config takes only the secret and an optional toleranceSeconds, which defaults to 300. Both the webhook- and svix- header names work, and any v1 entry may match. In short, v1 (HMAC) is supported and v1a is not yet: v1a entries are skipped, not verified, so a sender can include one next to a v1 signature (verification docs).
A failed check gets the same generic 401 every time. SolidHooks stores the request as a rejected event with a reason, such as signature_mismatch or missing_id_header, so you can find it with GET /v1/events?status=rejected. The three presets also set the id header as the idempotency key by default.
On the sending side, new SolidHooks destinations sign deliveries with Standard Webhooks by default, so any Standard Webhooks library can check them. The older solidhooks_v1 scheme is still supported. During a secret rotation overlap, each delivery carries signatures for both secrets (delivery signatures). For comparison, Hookdeck's changelog of 5 November 2026 says its destinations sign with one secret and that rotation "isn't available yet".
See also webhook verification mistakes and our Resend webhooks guide.