Redeliver a webhook delivery
POST/v1/webhooks/deliveries/{deliveryId}/redeliver
Requires an API key with the webhooks:write scope. About keys and scopes
Works with integration and partner keys, not agent keys.
A repeat without a key does it again; send Idempotency-Key and a retry within 24 hours replays the first response. About idempotency
Re-queues a failed delivery as the same event (same X-Webhook-Event-Id), and returns it to watch. 404 for a delivery this workspace does not have; 409 CONFLICT for one that is not failed or whose body is no longer kept. A redelivery to a paused or disabled webhook waits until it is active.
Path parameters
deliveryIdstringrequiredThe delivery's id.
uuid
Header parameters
Kirora-WorkspacestringoptionalPartner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern
^[A-Za-z0-9._:-]{1,128}$Idempotency-KeystringoptionalMakes a retry safe: a repeat with the same key and body within 24 hours gets the first response again, with
Idempotency-Replay: true. The same key with another request is 409IDEMPOTENCY_KEY_REUSED; while the first is still running, 409IDEMPOTENCY_KEY_IN_USE; after anunsafefirst request failed or never returned, 409IDEMPOTENCY_KEY_OUTCOME_UNKNOWN. Use a new key, such as a UUID, for each new request.8–255 characters
Returns
Returns 202 Accepted with a WebhookDelivery in data. It can also return 409 Conflict; see the statuses below. Otherwise returns an error; Errors lists every code and which to retry.
202 AcceptedThe delivery, queued again.409 ConflictThe request conflicts with current state — a duplicate unique value, or a resource whose status does not allow this operation.
idstringrequireduuid
webhookIdstringrequiredThe webhook (endpoint) it was sent to.
uuid
eventIdstringrequiredThe event; the same across retries.
uuid
eventTypestringrequiredThe event type, such as
message.delivered.one of
contact.created,contact.unsubscribed,contact.consent_changed,form.submitted,campaign.sent,journey.enrolled,message.delivered,message.bounced,message.complained,message.opened,message.clicked,message.failed,message.skipped,message.sent,journey.action_reached,webhook.testattemptintegerrequiredWhich attempt this was, starting at 1.
statusstringrequiredone of
pending,delivered,failednextAttemptAtstring | nullrequiredWhen a pending delivery is tried next. Null once delivered or failed, and while its webhook is paused or disabled: it then waits until the webhook is active.
date-time
responseStatusinteger | nullrequiredThe HTTP status your endpoint returned; null if it did not respond.
failureReasonstring | nullrequiredWhy the attempt failed:
HTTP 500for an error reply; with no reply, the network error, such asfetch failed: ECONNREFUSED,fetch failed: ENOTFOUND,fetch failed: CERT_HAS_EXPIREDorNo reply within 5 seconds.requestBodystring | nullrequiredThe exact body sent, while the delivery is pending or failed; null once delivered, when it is dropped.
responseBodystring | nullrequiredThe first 1 KB of the endpoint's last reply.
createdAtstringrequireddate-time
deliveredAtstring | nullrequiredWhen your endpoint accepted it.
date-time
Headers on 202 Accepted
Idempotency-Replaystringoptionaltruewhen this is the stored response to an earlier request with the same key.one of
true