Skip to content
OpenTrain AIOpenTrain AIOpenTrain AIDocs

Ask OpenTrain

Answers from the documentation, with sources.

What would you like to do with OpenTrain?

AI answers can be mistaken. Check the linked sources. Don’t include private account information.

Open app

DEVELOPER DOCUMENTATION

Redeliver Webhook Events

Requeue failed webhook deliveries for an endpoint, or one specific delivery by ID, regardless of its status.

POST/api/partner/v1/webhook-endpoints/{endpointId}/redeliver

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.

endpointIdstringpathrequired

The webhook endpoint ID.

deliveryIdstringbody

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

webhookEndpointobject

The endpoint: {id, url, eventTypes, status, createdAt, consecutiveFailures, disabledAt, disabledReason} — same shape as GET /webhook-endpoints/{endpointId}.

requeuedinteger

How many deliveries were requeued.

messagestring

When the requeued deliveries will be attempted — or a reminder that nothing is attempted while the endpoint is DISABLED.

StatuscodeMeaning
400BAD_REQUESTBody not valid JSON
401UNAUTHORIZEDMissing, invalid, or revoked token
403FORBIDDENToken lacks webhooks:manage
404NOT_FOUNDEndpoint or delivery not found on this install