Quick access

Saved in this browser. Sign in to keep it on all your devices.

Webhook Tester

Get a private URL, send any HTTP request to it, and inspect the method, headers, query and body as they arrive.

Your webhook URL

https://xilfy.com/api/webhook/14ecd7d0-b20a-4eeb-b34d-9d703da1c706

Accepts GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS. Only this browser can see the requests. They are kept for 24 hours (last 100 per URL); bodies over 1024 KB are cut off.


            

Requests

Loading…

Waiting for the first request

Paste the URL into Stripe, GitHub, Shopify or any service — or press Send test.

Checking a signature? Copy the raw body and the signature header into the HMAC Generator. Formatting a large payload? Use the JSON Formatter.

Version 1.1 Updated What's new

Release notes

  1. v1.1 Latest
    • Added an in-depth guide below the tool, written from what the tool actually does.

About the Webhook Tester

The webhook tester gives you a private URL that records every request sent to it, so you can see exactly what a service sends before you write your own handler.

How to use it

  1. 1 Copy your webhook URL, or press Send test to try it.
  2. 2 Paste the URL into the service you are testing and trigger an event.
  3. 3 Pick a request to inspect its body, headers, and query, or copy it as a cURL command to replay it.

Frequently asked questions

How long are requests kept?

Each request is kept for 24 hours, and each URL keeps its latest 100 requests. Press Clear to delete them sooner, or New URL to start a fresh inbox.

Who can see my requests?

Only the browser that created the URL can list them. Anyone who knows the URL can still send requests to it, so do not use it for production traffic.

Which HTTP methods are supported?

GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS. Every request gets a 200 JSON response with CORS headers, so browser code can call it too.

Can I test webhook signatures?

Yes. Copy the raw body and signature header, then check them with the HMAC Generator. The body is stored byte for byte, up to 1 MB.

Should I send real customer data?

Use test-mode events where possible. Requests are stored on our server until they expire.

Testing a webhook before writing any code

A webhook is an HTTP request that a service sends to your URL when something happens, such as a payment succeeding or code being pushed. Before you build a handler, you need to know exactly what that request looks like, and documentation examples do not always match reality.

  • Copy your URL and paste it into the service’s webhook settings, such as Stripe’s Workbench, GitHub’s repository Settings › Webhooks, or Shopify’s notification settings.
  • Trigger a real test event from that service, or press Send test to check the URL itself works.
  • Open the request to see the method, headers, query string and body, with JSON formatted and form fields shown as a table.
  • Use Copy as cURL to send the identical request to your own server or to localhost while you develop.

Headers worth checking

  • Content-Type: most services send application/json, but Slack slash commands and Twilio send form data (application/x-www-form-urlencoded), which needs a different parser.
  • The event name: GitHub puts it in X-GitHub-Event, while Stripe and Shopify put it inside the body or a topic header.
  • A delivery or event ID, which you need for spotting duplicates.
  • The signature header, such as Stripe-Signature, X-Hub-Signature-256 or X-Shopify-Hmac-Sha256.

Header names are case-insensitive, and some proxies change their case, so compare them without regard to case in your code.

Checking a webhook signature

A signature proves the request came from the service and was not changed. The service computes an HMAC-SHA256 of the request body with a shared secret, and your code repeats the calculation and compares:

  • GitHub sends sha256= followed by the HMAC of the raw body in hex.
  • Shopify sends the HMAC of the raw body in Base64.
  • Stripe signs the timestamp, a full stop and the body together, and sends t=…,v1=… so you can also reject old replays.

Always use the raw bytes as received. Parsing the JSON and turning it back into text changes spacing or key order, and the signature then fails. The body shown here is stored byte for byte, so you can copy it into the HMAC generator with your secret and confirm you get the same value as the header.

Retries, timeouts and duplicate events

Services treat any response other than a 2xx, or no response in time, as a failure and send the event again. GitHub gives up on a delivery after 10 seconds, and Stripe keeps retrying live events for up to three days. A good handler therefore:

  • Answers with 200 straight away and does slow work, such as sending emails, in a background job.
  • Stores each event ID and ignores one it has already processed, since the same event can arrive twice.
  • Does not rely on events arriving in order; it reads the timestamp or fetches the latest state from the API.

Requests sent to the tester are stored on the server until they expire, and anyone who knows the URL can post to it. Use test-mode events, keep the URL to yourself, and press New URL when you are done.