API v2.5 / Webhooks / Resend a failed webhook
POST /webhooks/{id}/retry
Queues one failed webhook to be sent to your callback URL again. Use the ID from the X-Webhook-Id header of the original delivery.
A webhook can be resent when all of these are true:
- Its status is failed (or pending after automatic retries stopped)
- It was created in the last 7 days
- It has had fewer than 10 delivery attempts in total (3 automatic + 7 manual)
- At least 1 hour has passed since its last attempt
A resend is a single delivery attempt. If your endpoint does not return 2xx, it is not retried automatically. The resent webhook carries the same X-Webhook-Id as the original.
Authorizations
Parameters
Path Parameters
3f2b8c1e-7a4d-4e1b-9c2a-5d6e7f8a9b0cThe webhook ID, taken from the `X-Webhook-Id` header
Responses
202
Accepted - the webhook is queued for resend
object
Example
{ "message": "webhook 3f2b8c1e-7a4d-4e1b-9c2a-5d6e7f8a9b0c queued for resend"}400
Bad Request - the ID is not a valid webhook ID
object
Example
{ "error": "id must be a webhook ID"}404
Not Found - no webhook with this ID exists for your organisation
object
Example
{ "error": "webhook not found: 3f2b8c1e-7a4d-4e1b-9c2a-5d6e7f8a9b0c"}409
Conflict - the webhook cannot be resent right now. The error field gives the reason.
object
Examples
Not failed
{ "error": "webhook can't be resent: only failed webhooks can be resent"}Older than 7 days
{ "error": "webhook can't be resent: only webhooks from the last 7 days can be resent"}Delivery limit reached
{ "error": "webhook can't be resent: it has reached the limit of 10 deliveries"}Last attempt under 1 hour ago
{ "error": "webhook can't be resent: it can be resent once an hour has passed since its last attempt"}Already being resent
{ "error": "webhooks are already being resent by another request"}500
Internal Server Error - safe to call again
object
Example
{ "error": "failed to retry webhooks, try again"}