Webhook debugging from a raw request to a replayable case
When to use it
Three problems dominate webhook integration: signatures never verify, events get processed twice, and the only trace is a single 400 in the log with no idea what the request looked like. This page takes one real HTTP request apart, recomputes the signature field by field, and builds a command you can replay in a terminal.

It is aimed at developers integrating GitHub, Stripe, Shopify, Slack, Twilio or WeChat. It does not receive callbacks and has no public URL; for live traffic, forward through ngrok, Cloudflare Tunnel or your own reverse proxy to a local listener.
Steps
- Copy the whole raw request from the gateway or framework log, request line, headers, blank line and body included, and paste it into the Raw request box. Pasting only a JSON body also works; the page falls back to POST with application/json.
- Press Parse. The overview shows method, path, protocol, query string, Content-Type and byte size, while the payload panel pretty-prints JSON and lists event type, event id, object and timestamp.
- Check the header table: Authorization, Cookie, Signature, Secret and Token fields are masked to a few leading and trailing characters, so a screenshot can be shared safely.
- Open Signature verification, pick the provider and enter the signing secret. Stripe and Slack timestamps are read from the request headers automatically. Press Compute to see the expected value, then Verify to compare with the header.
- To reproduce locally, choose curl, fetch or httpie in the replay panel, change the target to your debug endpoint and run it. Export the CSV to keep a record of the session.

Parameters
GitHub sends X-Hub-Signature-256, HMAC-SHA256 over the raw body, hex encoded with a sha256= prefix, keyed by the webhook secret.

Stripe sends Stripe-Signature as t=timestamp,v1=signature. The signed payload is the timestamp, a dot and the raw body, hashed with HMAC-SHA256 and hex encoded. The timestamp is the replay guard; the default tolerance is 300 seconds and anything older is reported as stale.
Shopify uses X-Shopify-Hmac-Sha256, the same HMAC-SHA256 but Base64 encoded instead of hex. This is the single most common source of copy-paste bugs.
Slack signs v0:timestamp:body and prefixes the result with v0=. The timestamp comes from X-Slack-Request-Timestamp with a five-minute window.
Twilio uses HMAC-SHA1 with Base64 over the full URL plus form parameters sorted by name. If a proxy rewrites the URL or the parameter order, the recomputation will not match.
WeChat sorts token, timestamp and nonce lexicographically, concatenates them and takes SHA-1, hex encoded, with no body involved. The event body of an official account or mini program still has to be parsed separately.
Reading the output
Event type resolution tries type, event, event_type, eventType, topic and action in that order and takes the first present field. Event id does the same with id, event_id, eventId, delivery, webhook_id and notification_id. An empty value means the platform uses a different key.
The signature panel prints the expected and received values and one of three verdicts: verified, mismatch, or missing header. A missing header never counts as verified, so an unsigned request cannot slip through as a pass.
The checklist flags structural problems: no Content-Type, JSON that fails to parse, a method other than POST, a body over 512 KB, no event field, a token in the query string, a signature mismatch, an event id seen earlier in the session, or an expected signature header that is absent. The A to D grade accumulates deductions from those findings.
The replay command drops Host and Content-Length so curl does not send stale values, passes the body with --data-raw to keep the exact bytes, and merges the target query string with the one in the original request.
FAQ
The signature never matches and the secret is definitely right. What else? Three usual suspects: the gateway re-serialised the body so spacing and key order changed, you signed with an API key instead of the signing secret, or the Stripe timestamp is outside the tolerance. Compare the byte size with the original first.
Why can Twilio never be reproduced? Twilio signs the full URL plus sorted form parameters. If a reverse proxy rewrites the scheme or host, or you treat a JSON body as form data, the result cannot match.
The event id is empty. Does that matter? Yes. Different platforms use different keys, and an empty value means the record cannot participate in duplicate detection. Check the actual field in the overview and record the delivery id manually if needed.
Is it safe to paste a production secret? Secrets stay in memory, are dropped on refresh and are never uploaded, but test-mode signing secrets are still the better habit around screenshots and screen sharing.
Why is there no receive URL? The platform has no long-running server to host a stable public endpoint. For live callbacks, tunnel traffic to a local listener with ngrok or Cloudflare Tunnel and paste the captured request here.
Keep one sanitised request per provider in a shared notes file, with the signature header and any personal data removed. It becomes the fastest way to answer “did the payload shape change after the platform's API update” without waiting for a live event. When a signature fails in production but passes here, compare three things in order: the exact bytes of the body, the secret in use for that endpoint, and the clock skew between the sender and your server. Two of the three are usually obvious once you print the byte length and the timestamp difference. And when you rotate a signing secret, accept both the old and new secret for the length of the provider's retry window, otherwise every in-flight delivery fails during the change.
New in 1.1.0: Square, Discord, detection and request diff
The signature coverage is now eight providers. Square signs url + body with HMAC-SHA256 and sends base64, and the URL must match the callback configuration exactly. Discord uses Ed25519: paste the public key as hex, the signed payload is timestamp + body, and verification runs through WebCrypto with an explicit message when the browser cannot do it rather than silently failing.
After a request is parsed, the provider is detected from its headers: Stripe-Signature selects Stripe, X-Square-HmacSha256-Signature selects Square, and so on, removing the wrong-family mistakes that manual switching invites.
The hardest case is a callback that worked yesterday. The new two-request comparison keeps the previous parse, and after parsing the next request you can list added, missing and changed headers plus every changed body field. Most signature failures come from a reordered or space-padded field, and this table points at the exact one.
1.2.0: signature matrix, throughput test and .http export
Which platform's signature scheme applies to a given request is the usual confusion when wiring a third-party callback. The signature matrix uses the current key and the raw body to compute six schemes at once, GitHub, Shopify, Square, Slack, Stripe and Twilio, and reports the expected value, the header it belongs to and a verdict per row. A combination missing a timestamp or a form field is labelled as such instead of being reported as a mismatch.
The throughput test runs fifty HMAC-SHA256 operations over the current body and reports total time and operations per second. The figure includes promise scheduling overhead, so it is a conservative lower bound, useful for deciding whether verification needs a cache or a native implementation rather than for benchmarking a crypto library.
Export .http writes the parsed request back into the text format understood by the JetBrains HTTP Client and the VS Code REST Client, preserving the method, path, headers and the exact body bytes, which makes it practical to reproduce a production callback locally.
1.3.0: p50 and p95 throughput, path extraction and masked exports
The throughput test changed from one burst of fifty to five rounds of fifty with per-operation timing, 250 samples in total, reporting p50, p95, total time and throughput. A single concurrent burst mostly measures scheduling overhead; per-operation timing is closer to what verification costs in a request path, and p95 says more about tail latency than an average.
The JSON path extractor reads body fields by dot path with array indexes, for example data.object.amount or items.0.id. Amounts, event identifiers and order numbers no longer need to be hunted by eye in formatted JSON, and the result includes the value type.
With the masking switch on, signature, Authorization, Cookie and secret header values are replaced with *** in replay commands, copied text and .http files. A request can be shared with a colleague or pasted into a ticket with its structure intact and no usable signature attached. The original request stays in the page; only exports change.