Skip to main content

Webhooks

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: webhooks · 6 operations

GET /v1/push-webhook-subscriptions/{tenant_slug}​

List Push Webhook Subscriptions

Operation id: list_push_webhook_subscriptions_v1_push_webhook_subscriptions__tenant_slug__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list push webhook subscriptions.application/json array of PushWebhookSubscriptionResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/push-webhook-subscriptions/{tenant_slug}​

Create Push Webhook Subscription

Operation id: create_push_webhook_subscription_v1_push_webhook_subscriptions__tenant_slug__post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for create push webhook subscription.

Responses

StatusDescriptionBody
200Successful response for create push webhook subscription.application/json PushWebhookSubscriptionResponse
422Validation Errorapplication/json HTTPValidationError

GET /v1/push-webhook-subscriptions/{tenant_slug}/deliveries/dead-letter​

List Push Webhook Dead Letter Deliveries

List terminal dead-letter webhook deliveries for the tenant (#2588).

Operation id: list_push_webhook_dead_letter_deliveries_v1_push_webhook_subscriptions__tenant_slug__deliveries_dead_letter_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list push webhook dead letter deliveries.application/json array of PushWebhookDeadLetterItem
422Validation Errorapplication/json HTTPValidationError

GET /v1/push-webhook-subscriptions/{tenant_slug}/deliveries/{event_id}​

Get Push Webhook Delivery Detail

Delivery event with full attempt history (#2588).

Operation id: get_push_webhook_delivery_detail_v1_push_webhook_subscriptions__tenant_slug__deliveries__event_id__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
event_idpathstringyesPath parameter identifying the event id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get push webhook delivery detail.application/json PushWebhookDeliveryEventDetailResponse
422Validation Errorapplication/json HTTPValidationError

GET /v1/push-webhook-subscriptions/{tenant_slug}/{subscription_id}​

Get Push Webhook Subscription

Operation id: get_push_webhook_subscription_v1_push_webhook_subscriptions__tenant_slug___subscription_id__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subscription_idpathstringyesPath parameter identifying the subscription id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get push webhook subscription.application/json PushWebhookSubscriptionResponse
422Validation Errorapplication/json HTTPValidationError

PATCH /v1/push-webhook-subscriptions/{tenant_slug}/{subscription_id}​

Update Push Webhook Subscription

Operation id: update_push_webhook_subscription_v1_push_webhook_subscriptions__tenant_slug___subscription_id__patch

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subscription_idpathstringyesPath parameter identifying the subscription id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for update push webhook subscription.

Responses

StatusDescriptionBody
200Successful response for update push webhook subscription.application/json PushWebhookSubscriptionResponse
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

PushWebhookDeadLetterItem​

Terminal failed delivery (#2588).

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
subscriptionIdstringyesSubscription ID.
eventTypestringyesEvent Type.
payloadobjectyesPayload.
attemptCountintegeryesNumber of attempt.
lastErrorstring or nullnoLast Error.
createdAtstring (date-time) or nullnoCreated At.
updatedAtstring (date-time) or nullnoUpdated At.

PushWebhookDeliveryEventDetailResponse​

PushWebhookDeliveryEventDetailResponse schema.

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
subscriptionIdstringyesSubscription ID.
eventTypestringyesEvent Type.
statusstringyesStatus.
payloadobjectyesPayload.
attemptCountintegeryesNumber of attempt.
nextRetryAtstring (date-time) or nullnoNext Retry At.
lastErrorstring or nullnoLast Error.
createdAtstring (date-time) or nullnoCreated At.
updatedAtstring (date-time) or nullnoUpdated At.
attemptsarray of PushWebhookDeliveryAttemptItemnoAttempts.

PushWebhookSubscriptionCreateRequest​

Create a push webhook subscription (#2587). Plaintext signing secret is write-only.

PropertyTypeRequiredDescription
urlstringyesHTTPS webhook URL (validated server-side).
signingSecretstringyesShared secret for signing deliveries; never returned after create.
activebooleannoWhether deliveries are enabled.
minSeverityenum "breaking", "non-breaking", "docs-only" or nullnoPublish-event severity threshold (CTG-3.3): deliver version.published events only when the classified max severity meets this level. Omit/null to receive every publish event (default; other event types are never filtered).

PushWebhookSubscriptionResponse​

Push webhook subscription — signing secret is never included; only signingSecretRef.

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
urlstringyesURL.
activebooleanyesActive.
signingSecretRefstringyesSigning Secret Ref.
minSeverityenum "breaking", "non-breaking", "docs-only" or nullnoMin Severity.
createdAtstring (date-time) or nullnoCreated At.
updatedAtstring (date-time) or nullnoUpdated At.

PushWebhookSubscriptionUpdateRequest​

Update URL, active flag, severity filter, and/or rotate signing secret (#2587, #4477).

PropertyTypeRequiredDescription
urlstring or nullnoNew HTTPS URL (must remain unique per tenant).
signingSecretstring or nullnoSigning Secret.
activeboolean or nullnoActive.
minSeverityenum "breaking", "non-breaking", "docs-only" or nullnoPublish-event severity threshold (CTG-3.3). Pass an explicit null to clear the filter (deliver every publish event); omit to leave unchanged.