# Replay Mechanics

Replay sends a webhook notification again. It does not send another email.

## Signed failed-delivery recovery

Every plan includes recovery from the dead-letter queue:

1. `GET /v1/webhooks/{id}/dlq` lists failed events.
2. `POST /v1/webhooks/{webhook_id}/deliveries/{delivery_id}/replay` retries one entry. Use the entry's `event_id` as `delivery_id`.
3. `POST /v1/webhooks/{webhook_id}/replay-failed` queues a batch. Optional filters are `event_types`, `created_after`, and `created_before`.

Recovery requires an authorized key and an entry belonging to your account. An already replayed entry returns 409 for an individual replay. Inspect the response status and the receiving system before declaring recovery complete.

The replay uses the webhook's configured URL and secret. It preserves the event ID and event data, but creates a new envelope timestamp, sets `delivery_attempt` to `replay`, and adds `replay: true`. Its HMAC is recalculated over that new body. It is not byte-for-byte identical to the original request.

These endpoints do not accept a one-off target URL override. Keep signature verification enabled during recovery.

## Legacy engagement replay

`POST /v1/events/{eventId}/replay` is a separate legacy operation. It accepts only identifiers prefixed with `engagement:` and reconstructs an engagement payload. It is not the signed dead-letter replay contract above and cannot recover arbitrary sent or received notifications. The MCP `replay_event` tool calls this legacy endpoint.

Use the signed failed-delivery endpoints for webhook recovery. Do not treat the legacy endpoint as proof that engagement events are automatically dispatched to webhooks.

## Retention

There is no documented universal 90-day replay guarantee. Recovery depends on the failed entry still being available. Message and audit retention depend on the plan and are separate from webhook recovery. Keep your own durable event record when longer recovery windows are required.

See [Replay troubleshooting](/docs/operations/event-replay-troubleshooting) for commands and response checks.
