Replay a delivery

View .md

Resend a past delivery with the same payload — useful after your receiver was down.


Resend a delivery from the history with the same event and payload. Dravo records a new delivery attempt (the original stays in the log), so you can recover events your receiver missed while it was down without waiting for a new one.

POST/v1/webhooks/{webhook_id}/deliveries/{delivery_id}/replay
Dashboard JWT only

Resend a past delivery (same payload and event) to the endpoint. Records a new delivery attempt.

Body & query parameters

webhook_idstringpathrequired

Endpoint that owns the delivery.

delivery_idstringpathrequired

Delivery to resend (from the deliveries list).

const response = await fetch("https://api.dravo.dev/v1/webhooks/{webhook_id}/deliveries/{delivery_id}/replay", {  method: "POST",  headers: {  "Authorization": "Bearer " + process.env.DRAVO_API_KEY,}});const data = await response.json();console.log(data);
{  "id": "del_2",  "event_type": "post.published",  "status_code": 200,  "attempts": 1}