Key Facts
- Category
- Network
- Input Types
- text, checkbox, select, number
- Output Type
- html
- Sample Coverage
- 4
- API Ready
- Yes
Overview
The Webhook Debugger & Relay tool provides a unique capture URL to inspect, validate, and forward incoming HTTP requests. It allows developers to view payload details, verify HMAC signatures, and selectively replay webhooks to local or remote endpoints, making API integration testing seamless and secure.
When to Use
- •Testing third-party API integrations like Stripe or GitHub before deploying to production.
- •Troubleshooting failed webhook deliveries by inspecting raw headers, payloads, and signatures.
- •Forwarding specific webhook events to a local development environment using conditional auto-replay.
How It Works
- •Generate a unique capture URL to receive incoming webhook requests.
- •Configure optional HMAC signature validation by providing your secret and header name.
- •Set method filters or body text requirements to isolate specific events.
- •Inspect captured payloads in the dashboard and manually or automatically relay them to your target URL.
Use Cases
Examples
1. Debugging Stripe Payment Webhooks
Backend Developer- Background
- Integrating Stripe subscriptions requires handling various webhook events, but testing them directly against a local server is difficult without exposing a public URL.
- Problem
- Need to capture invoice payment events, verify their Stripe signatures, and manually replay them to a local development server.
- How to Use
- Set the Relay Target URL to your local endpoint, enter your Stripe webhook secret, set the Signature Header to stripe-signature, and filter for bodies containing the invoice.paid event type.
- Example Config
-
Relay Target URL: https://api.example.com/webhooks/stripe Signature Secret: whsec_test_123 Signature Header: stripe-signature Method Filter: POST Body Must Contain: "type":"invoice.paid" - Outcome
- The dashboard captures only paid invoice events, verifies the Stripe signature, and allows manual replay to the local API for safe testing.
2. Auto-Relaying GitHub Push Events
DevOps Engineer- Background
- A CI/CD pipeline needs to trigger builds only when code is pushed to the main branch, but GitHub sends webhooks for all branch pushes.
- Problem
- Filter incoming GitHub webhooks to only forward main branch push events to the build server automatically.
- How to Use
- Configure the Relay Target URL to the build server, enable Auto Replay, and set the body filter to require the main branch reference.
- Example Config
-
Relay Target URL: https://api.example.com/webhooks/github Auto Replay: true Method Filter: POST Body Must Contain: "ref":"refs/heads/main" - Outcome
- All GitHub webhooks are logged, but only pushes to the main branch are automatically forwarded to the CI/CD pipeline.
Try with Samples
networkRelated Hubs
FAQ
What is a webhook capture URL?
It is a temporary, unique endpoint generated by the tool to receive and log incoming HTTP requests from third-party services.
How does signature validation work?
By entering your signature secret and header name, the tool calculates the expected HMAC hash and compares it against the incoming request to verify authenticity.
Can I automatically forward requests to my local server?
Yes, by enabling the Auto Replay feature and setting a Relay Target URL, incoming requests that match your filters will be forwarded automatically.
How many requests can I store?
You can configure the stored request limit between 10 and 200 requests. Older requests are overwritten once the limit is reached.
Can I filter which webhooks are captured or replayed?
Yes, you can filter incoming requests by HTTP method (like POST or PUT) and specify text that must be present in the payload body.