curl. You don’t need an account to follow along.
Create an inbox
Send a Webhooktrap returns a JSON object containing your inbox ID and the ingest URL to give your webhook provider:Copy the
POST request to the inboxes endpoint. No authentication is required for anonymous inboxes.ingestUrl value — you’ll use it as the destination in your webhook provider’s settings (for example, Stripe’s “Endpoint URL” field or GitHub’s “Payload URL” field).Send a test webhook
With the ingest URL in hand, simulate a webhook by posting a JSON payload directly to it. This is exactly what a real provider would do.Webhooktrap responds with
200 OK and stores the full request — method, headers, and body — for you to inspect. Open the dashboard or query the events endpoint to see the captured payload.The
authorization and cookie headers are redacted before storage to protect credentials. All other headers, including provider-specific signature headers like Stripe-Signature, are stored and replayed as-is.Replay to localhost
Before replaying, fetch the event ID from your inbox. Replace Webhooktrap returns an array of captured events. Copy the With the event ID in hand and your local server running, send the replay request:Webhooktrap’s servers perform the outbound request and return everything your handler responded with:A
ibx_01hq8xkz2fgr7bt9vpwcn3md6e with your own inbox ID from Step 1:id of the event you want to replay:statusCode in the 2xx range confirms your handler received and processed the event correctly. If you see a 4xx or 5xx, check the responseBody field for error details from your application.