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

Read one webhook subscription — check whether it is ACTIVE or has been auto-disabled, and why.

GET/api/public/v1/webhooks/{webhookId}

Reads one webhook subscription. The most common use is health-checking: if your endpoint has stopped receiving events, read the subscription and check status — a DISABLED webhook receives no deliveries, and disabledReason explains why (typically repeated delivery failures; see the delivery lifecycle).

The signing secret is never returned — it is shown only once at creation. If it is lost, delete the subscription and create a new one. Webhooks belonging to another account return 404.

Requirements: webhooks:manage scope + the public_api_webhooks feature.

webhookIdstringpathrequired

The webhook subscription ID.

webhookobject
webhook
idstring

Webhook subscription ID.

urlstring

The destination URL receiving deliveries.

eventTypesstring[]

Subscribed event types from the event catalog.

statusstring

ACTIVE or DISABLED.

createdAtstring

ISO creation timestamp.

disabledAtstring | null

When the subscription was disabled; null while ACTIVE.

disabledReasonstring | null

Why it was disabled. Recover by deleting and re-creating the subscription, then catch up on missed events with GET /updates.

StatuscodeMeaning
401UNAUTHORIZEDMissing or invalid token
403FORBIDDENMissing webhooks:manage scope, or public_api_webhooks disabled
404NOT_FOUNDNo such webhook, or it belongs to another account (details: {resource: "webhooks", webhookId})