Webhook Testing

How to Capture Webhooks Without Webhook.site

Capture and inspect webhook payloads without Webhook.site. Use a persistent webhook catcher URL, inspect headers, and replay events to a public HTTP or HTTPS endpoint.

Published Updated 8 min readBy MockFlow Team

Key takeaways

  • Create a MockFlow Request Catcher (free account), paste its URL into the provider, trigger a test event, and inspect the headers and body.
  • Send one cURL request first, so you know the URL works before debugging the provider.
  • The catcher answers every delivery with HTTP 200. Replay goes to public HTTP or HTTPS URLs only, not localhost.

Why Leave Webhook.site?

Webhook.site is the default paste-a-URL tool in a lot of SaaS docs, and it is fast for a one-off look at a payload. Developers look for another option when they want that capture inside a project, next to mock APIs, with replay to a public endpoint. The Webhook.site alternative guide compares the two, including when Webhook.site is still the better fit.

The Capture Workflow

  1. Create a free MockFlow account and a Request Catcher. The request catcher page explains the setup.
  2. Copy the catcher URL from the catcher page. It looks like https://mockflow.io/api/my-project--abc123/catch/xyz.
  3. Send a test request with cURL (below) and confirm it appears.
  4. Paste the URL into the provider's webhook settings.
  5. Trigger a test event and inspect headers, body, query, and source IP.
  6. Replay the captured request to another public HTTP or HTTPS endpoint, such as staging.
curl -X POST "$CATCHER_URL" \
  -H "Content-Type: application/json" \
  -H "X-Test-Event: order.created" \
  -d '{"id":"evt_test_1","type":"order.created","data":{"orderId":"ord_42"}}'

The request should appear in the catcher with the custom header and the parsed JSON body. If it does not, check that the catcher is active and that you copied the full URL. You do not need to expose your machine for capture, because the catcher URL is already public. Replay is sent from MockFlow's servers, so the target must be a public HTTP or HTTPS URL; private hosts, including localhost, are blocked.

Stripe and GitHub

For Stripe, add the catcher URL as a webhook endpoint in test mode in the Stripe Dashboard, or forward events with the Stripe CLI: stripe listen --forward-to "$CATCHER_URL". Look at the Stripe-Signature header before you write verification code. MockFlow captures it but does not verify it for you.

For GitHub, set the catcher as the webhook URL on a repository or organization and choose the JSON content type. Push a commit to trigger a pushevent, or use "Redeliver" from the webhook's Recent Deliveries after the first payload. The X-GitHub-Event and X-Hub-Signature-256 headers are what your handler will branch on and verify. For a deeper troubleshooting checklist, see how to debug webhooks.

FAQ

How do I capture webhooks without Webhook.site?

Create a MockFlow Request Catcher, paste its URL into your webhook provider, trigger a test event, then inspect the headers and body. Replay the event to another public HTTP or HTTPS endpoint when your handler is ready.

Can I keep using Webhook.site for one-off tests?

Yes. A quick anonymous inspector is fine for a single look. Switch when you want saved history, replay, or mock APIs in a project you will open again.

Why does my provider show the webhook as delivered?

The MockFlow catcher responds with HTTP 200 and a JSON body, so providers treat the delivery as successful. To test provider retries, point the provider at a mock endpoint that returns a 5xx instead.

Can I replay a captured webhook to localhost?

No. Replay is sent from MockFlow's servers, so it can only reach public HTTP or HTTPS URLs. Use a staging URL, or forward to your machine with the provider's own CLI or a tunnel.

Capture webhooks on a persistent project URL

Free webhook catcher with inspection and replay. No credit card.