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

List Webhook Endpoints

List the webhook endpoints registered on the current install, newest first, including delivery health.

GET/api/partner/v1/webhook-endpoints

Lists every webhook endpoint registered on the calling token’s install, newest first. Use it to monitor delivery health — a non-zero consecutiveFailures or a DISABLED status means your receiver needs attention.

Requirements: webhooks:manage scope.

No parameters.

webhookEndpointsobject[]

Array of webhook endpoints, newest first. The signing secret is never included — it is only returned once, by create.

WebhookEndpoint fields
idstring

Endpoint ID.

urlstring

The delivery URL.

eventTypesstring[]

Subscribed event types.

statusstring

ACTIVE or DISABLED. Deliveries are only attempted while ACTIVE.

createdAtstring

ISO 8601 creation timestamp.

consecutiveFailuresinteger

Failed deliveries in a row. Resets to 0 on any successful delivery; at 10 the endpoint is auto-disabled.

disabledAtstring | null

When the endpoint was disabled, or null.

disabledReasonstring | null

Why the endpoint was disabled, or null.

StatuscodeMeaning
401UNAUTHORIZEDMissing, invalid, or revoked token
403FORBIDDENToken lacks webhooks:manage