API v2.5 / Webhooks / Resend failed webhooks in a time range
POST /webhooks/retry
Queues every resendable webhook created in the range [from, to) to be sent to your callback URL again. The same rules as Resend a failed webhook apply to each webhook; any that do not qualify are skipped.
fromandtoare RFC 3339 timestamps.frommust be beforeto, and they can be at most 24 hours apart.- Each call queues up to 500 webhooks, oldest first. If more remain, the response includes
next_cursor. Call again with the samefromandtoandcursorset tonext_cursor, until nonext_cursoris returned.
Authorizations
Request Body required
object
Start of the range (inclusive)
End of the range (exclusive). At most 24 hours after from
The next_cursor from the previous response. Omit on the first call
Examples
First call
{ "from": "2026-12-01T00:00:00Z", "to": "2026-12-02T00:00:00Z"}Next page
{ "from": "2026-12-01T00:00:00Z", "to": "2026-12-02T00:00:00Z", "cursor": "MjAyNi0xMi0wMVQxNDozMDowMFp8M2YyYjhjMWUtN2E0ZC00ZTFiLTljMmEtNWQ2ZTdmOGE5YjBj"}Responses
202
Accepted - the webhooks are queued for resend
object
Number of webhooks queued by this call
Present when more webhooks remain. Pass it back as cursor
Examples
More remain
{ "queued": 500, "next_cursor": "MjAyNi0xMi0wMVQxNDozMDowMFp8M2YyYjhjMWUtN2E0ZC00ZTFiLTljMmEtNWQ2ZTdmOGE5YjBj"}Finished
{ "queued": 12}400
Bad Request - the body is invalid or the range is wrong
object
Examples
Missing or reversed range
{ "error": "from and to are both required, with from before to"}Range over 24 hours
{ "error": "from and to must be at most 24 hours apart"}Invalid body or cursor
{ "error": "invalid request body"}409
Conflict - some of these webhooks are already being resent by another request
object
Example
{ "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"}