Skip to main content
POST
Requeues webhook deliveries for retry. With a deliveryId, requeues that specific delivery regardless of its status; without one, requeues all FAILED deliveries for the endpoint. Requeued deliveries are only attempted while the endpoint is ACTIVE — when recovering from auto-disable, re-enable first, then redeliver. Requirements: webhooks:manage scope.

Request

string
required
The webhook endpoint ID.
string
A specific delivery to requeue — the value of the X-OpenTrain-Delivery header. Omit to requeue every FAILED delivery on the endpoint.

Response

object
The endpoint: {id, url, eventTypes, status, createdAt, consecutiveFailures, disabledAt, disabledReason} — same shape as GET /webhook-endpoints/{endpointId}.
integer
How many deliveries were requeued.
string
When the requeued deliveries will be attempted — or a reminder that nothing is attempted while the endpoint is DISABLED.

Errors