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 Webhooks

List every webhook subscription on the account — newest first, secrets never included.

GET/api/public/v1/webhooks

Lists every webhook subscription on your account, newest first. Use it to audit what is subscribed before creating another (accounts cap at 10) and to spot subscriptions that have been auto-disabled.

Signing secrets are never included — they are shown only once, in the create response. A lost secret cannot be recovered: delete the subscription and create a new one.

Requirements: webhooks:manage scope + the public_api_webhooks feature.

No parameters. The list is not paginated — an account holds at most 10 subscriptions.

webhooksobject[]
webhook
idstring

Webhook subscription ID.

urlstring

The destination URL receiving deliveries.

eventTypesstring[]

Subscribed event types from the event catalog.

statusstring

ACTIVE or DISABLED. Disabled subscriptions receive no deliveries.

createdAtstring

ISO creation timestamp.

disabledAtstring | null

When the subscription was disabled; null while ACTIVE.

disabledReasonstring | null

Why it was disabled (e.g. repeated delivery failures). Recover by deleting and re-creating the subscription.

StatuscodeMeaning
401UNAUTHORIZEDMissing or invalid token
403FORBIDDENMissing webhooks:manage scope, or public_api_webhooks disabled