When a webhook integration fails in production, you need to identify which events were affected, understand what went wrong, and re-deliver the original payloads to your fixed endpoint — without asking the provider to resend. The Webhook Debugger stores every captured event as a durable record and exposes a replay API that lets you re-send any stored event to a new destination.Documentation Index
Fetch the complete documentation index at: https://supahooks.ar27111994.dev/llms.txt
Use this file to discover all available pages before exploring further.
Recommended incident configuration
Start a new actor run with a long retention window and alerting enabled so you can capture and triage events over the full incident window:Identify failed events
Use the/logs query API to find events that need attention. Authenticate with your authKey using the Authorization header:
Review payload and error context
Retrieve the full detail for a specific log entry:If forwarding failed after a webhook was captured, the original ingress event is still stored independently, so the original payload is always available for replay. Check
/system/metrics to see forwarding error counts and last sync time.Replay to your fixed endpoint
Once you patch the downstream service, replay the original captured event. The actor sends the original method and payload, addsX-Apify-Replay: true and an idempotency key, and strips masked or transport-managed headers before forwarding.
Replay a single event:
Bulk replay with offset pagination
To replay a large batch of failed events, page through/logs with statusCode[gte]=400 and replay each entry. Use offset pagination to move through the full result set:
nextOffset and nextPageUrl for easy iteration:
id in the results, issue a replay request to your fixed endpoint.
Set up alerts to catch failures proactively
ConfigurealertOn with the failure conditions you want to know about immediately. The actor posts a notification to Slack or Discord when any matching condition occurs:
| Alert condition | When it fires |
|---|---|
error | An internal actor error occurs during request processing |
4xx | The actor returns a 4xx status to the sender |
5xx | The actor returns a 5xx status to the sender |
timeout | A forwarding or replay attempt times out |
signature_invalid | An incoming request fails signature verification |
Common incident patterns
| Signal | What it usually means | Next action |
|---|---|---|
Forwarding errors in /system/metrics | The sender reached the actor but the downstream target failed later | Fix the downstream target and replay the original captured event |
signatureValid=false | Secret drift, body tampering, or provider clock skew | Correct the verification config before replaying — replaying an event to a handler that rejects bad signatures will fail again |
| Repeated 4xx or 5xx from the sender | A forced status or the request path is rejecting traffic before normal processing | Confirm whether the failure is intentional, then inspect auth, IP restrictions, or schema validation |