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

Get Webhook Endpoint

Retrieve one webhook endpoint and its delivery health: status, consecutive failures, and disable reason.

GET/api/partner/v1/webhook-endpoints/{endpointId}

Retrieves one webhook endpoint on the calling token’s install, including its delivery-health fields. The signing secret is never returned — it is only shown once, by create.

Requirements: webhooks:manage scope.

endpointIdstringpathrequired

The webhook endpoint ID, from create or list.

webhookEndpointobject
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
404NOT_FOUNDNo endpoint with this ID on this install