Send a delivery again
const url = 'https://api.emite.cr/v1/webhooks/example/deliveries/example/redeliver';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.emite.cr/v1/webhooks/example/deliveries/example/redeliver \ --header 'Authorization: Bearer <token>'Queues the event of this delivery to be sent again to the same endpoint, as a new delivery with its own window and retries, and with the SAME event id — a receiver that dedups by it does not process it twice. For an event that never got through, once the receiver works again: its first attempt goes out even while the endpoint is paused, and if it gets through the endpoint resumes. The new attempts show up in the deliveries with redeliveryOf. 409 WEBHOOK_ENDPOINT_DISABLED for a disabled endpoint (a successful test reactivates it first), 409 WEBHOOK_TEST_NOT_REDELIVERABLE for a test, 404 WEBHOOK_DELIVERY_NOT_FOUND for a delivery that is not this endpoint's, and 429 WEBHOOK_REDELIVERY_RATE_LIMITED (with Retry-After) past 60 in 10 minutes per company.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Queued.
object
The id of the event sent again — the same as in the original delivery.
True: it was queued now. false: the same redelivery was already queued and has not run yet, so nothing more was queued.
Examplegenerated
{ "eventId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "queued": true}