Webhooks

Replay a delivery

Requires scope: manage. Re-sends the event behind a previous delivery attempt to that delivery's endpoint only. Other endpoints subscribed to the event are not sent it again; to re-send an event to every subscribed endpoint, use POST /v1/events/{id}/redeliver.

post/v1/webhook-deliveries/{id}/replay

Request

  • Base URL: https://api.mails.ai
  • URL: https://api.mails.ai/v1/webhook-deliveries/{id}/replay
  • Auth: HTTP bearer

Path parameters

idstring required

Webhook delivery id (whd_…).

Response

Replay scheduled.

delivery_idstring required

The delivery that was replayed: the id in the path. The replay is recorded as a new delivery with its own id, which GET /v1/webhooks/{id}/deliveries lists.

event_idstring required

The event behind that delivery, which is what was sent again.

scheduledstring[] required

The endpoint the replay went to (whe_…): one id, or empty when that endpoint is paused or no longer subscribed to the event type.

scheduled_atstring date-time required

When the replay finished (ISO 8601, UTC), set even when scheduled is empty. The attempt has been made by then, and a failed one is retried like any delivery.

Changes

No recorded changes to this operation across all 1 revision of this API.