Skip to main content

Replay a specific webhook event.

POST 

/webhooks/events/:id/replay

Re-enqueues the exact payload from a previously recorded event to its original subscription.

The event is re-queued as a fresh delivery attempt (attempt 1) using the original payload unchanged. Delivery follows the normal retry schedule if the endpoint is unavailable.

Replay signal: Replayed deliveries include the header X-Debitura-Replay: true so your endpoint can distinguish a replay from a live event and implement idempotency correctly.

When to use:

  • Your endpoint was temporarily unavailable and you want to re-deliver a specific event.
  • You want to test idempotency of your event handler.
  • Part of CI-loop ASSERT: confirm an event was dispatched via GET /webhooks/events, then replay to a different receiver.

Relationship to replay-last-event: POST /test/cases/{id}/replay-last-event is a convenience wrapper over this endpoint — it looks up the most recent event ID for you. Use that endpoint when you don't yet know the event ID; use this endpoint when you have the ID from GET /webhooks/events.

Tenant isolation: Only events belonging to your own subscriptions can be replayed.

Request

Responses

Event re-enqueued for delivery