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}/replayAPI key (dra_…) or dashboard JWT
Resend a past delivery (same payload and event) to the endpoint. Records a new delivery attempt.
AuthorizationstringheaderrequiredBearer token. Use a Dravo API key (`dra_...`) or a dashboard JWT.
webhook_idstringpathrequiredEndpoint that owns the delivery.
delivery_idstringpathrequiredDelivery to resend (from the deliveries list).
idstringDelivery id.
event_typestringThe event that was delivered.
status_codeintegeroptionalHTTP status returned by your endpoint.
attemptsintegerNumber of delivery attempts so far.
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}