Skip to main content
View as Markdown

Event Replay Troubleshooting

Use the API to recover failed webhook deliveries. The billing dashboard has no inbox console or Replay button.

Inspect before replaying​

Recovery is included on every plan. Confirm your receiver verifies signatures and handles duplicate event IDs. First inspect delivery attempts and dead-letter entries:

curl "https://getmail.bot/v1/webhooks/$WEBHOOK_ID/deliveries" \
-H "Authorization: Bearer $MAILBOT_API_KEY"

curl "https://getmail.bot/v1/webhooks/$WEBHOOK_ID/dlq" \
-H "Authorization: Bearer $MAILBOT_API_KEY"

Set EVENT_ID to the failed entry's event_id, then retry it:

curl -X POST "https://getmail.bot/v1/webhooks/$WEBHOOK_ID/deliveries/$EVENT_ID/replay" \
-H "Authorization: Bearer $MAILBOT_API_KEY"

Read data.status, data.response_code, and data.error. An HTTP 200 from the replay API does not by itself mean your receiver accepted the event.

Recover a batch​

curl -X POST "https://getmail.bot/v1/webhooks/$WEBHOOK_ID/replay-failed" \
-H "Authorization: Bearer $MAILBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"event_types":["message.received"]}'

HTTP 202 means the batch was queued. Inspect queued, skipped, and remaining, then check delivery records and downstream state. Queuing is not delivery confirmation.

Common responses​

ResponseCheck
403Check ownership, key permission and account access; recovery requires no additional purchase
404The webhook or failed entry is not available to this account
409The entry was already replayed
429Wait for the rate-limit reset before trying again
Failed replay resultCheck the receiver's status, timeout, and signature verification

Do not disable signature verification to make a replay succeed. Signed replay uses the configured webhook URL and secret; it does not accept a target override. No universal 90-day recovery window is promised.

Engagement history and failed webhook deliveries are different records. See Replay Mechanics for the limited legacy engagement operation and Webhooks for supported automatic events.