Skip to main content

Webhooks

Outbound subscriptions to the platform's events, their signing secret and the delivery attempts they produced. Eleven tools — the largest resource.

See the Webhook model, the WebhookDelivery model and Webhook security for HMAC signature validation.


webhooks_list​

Read · scope inbox/webhooks · permission webhooks.list · GET /webhooks

List webhook subscriptions. Signing secrets are never returned.

ParameterTypeDescription
cursorstringOpaque cursor from a previous page.
limitintegerPage size, default 25, max 100.
sortstringSort keys, - prefix for descending.
statusactive | inactiveFilter by status.
inbox_idstring (uuid)Only subscriptions scoped to this inbox.
external_idstringFilter by the id in your system.
created_at_gte / created_at_ltestringISO 8601 range on created_at.

webhooks_get​

Read · scope inbox/webhooks · permission webhooks.show · GET /webhooks/{id}

Fetch one webhook by internal id or external_id.

ParameterTypeDescription
id requiredstringInternal id or external_id.

webhooks_create​

Write · scope inbox/webhooks + write · permission webhooks.create · POST /webhooks

Create a webhook subscription. The response carries signing_secret in clear text exactly once — surface it to the user immediately, it cannot be read back.

ParameterTypeDescription
label requiredstringDisplay name, 1–120 chars.
url requiredstringDestination URL.
external_idstringId of the record in your system.
inbox_idstring (uuid) | nullScope the subscription to one inbox; null means the whole workspace.
subscribed_eventsstring[]Event slugs to subscribe to.
authnone | basic | bearer | headerAuthentication scheme used when calling your endpoint.
auth_basic_userstringUsername, for basic.
auth_basic_passwordstringPassword, for basic.
auth_bearer_tokenstringToken, for bearer.
auth_header_keystringHeader name, for header.
auth_header_valuestringHeader value, for header.
signing_secretstringBring your own secret (whsec_…); generated when omitted.
custom_metadataobjectFree-form JSON owned by the caller.
idempotency_keystringReplay guard, 8–255 chars.

webhooks_upsert​

Write · scope inbox/webhooks + write · permission webhooks.create · PUT /webhooks

Create or update a webhook, matched by id then external_id. An auth block replaces the stored one wholesale; a signing_secret rotates it and is returned once.

ParameterTypeDescription
idstring (uuid)Match by internal id first.
external_idstringMatch key in your system.
labelstringDisplay name, 1–120 chars.
urlstringDestination URL.
inbox_idstring (uuid) | nullScope to one inbox, or null for the workspace.
subscribed_eventsstring[]Event slugs to subscribe to.
authnone | basic | bearer | headerAuthentication scheme.
auth_basic_userstringUsername, for basic.
auth_basic_passwordstringPassword, for basic.
auth_bearer_tokenstringToken, for bearer.
auth_header_keystringHeader name, for header.
auth_header_valuestringHeader value, for header.
signing_secretstringRotates the secret; returned once.
custom_metadataobjectFree-form JSON.
idempotency_keystringReplay guard.

webhooks_update​

Write · scope inbox/webhooks + write · permission webhooks.update · PATCH /webhooks/{id}

Update a webhook subscription in place.

ParameterTypeDescription
id requiredstringInternal id or external_id.
labelstringDisplay name, 1–120 chars.
urlstringDestination URL.
external_idstringId in your system.
inbox_idstring (uuid) | nullScope to one inbox, or null for the workspace.
subscribed_eventsstring[]Event slugs to subscribe to.
authnone | basic | bearer | headerAuthentication scheme.
auth_basic_userstringUsername, for basic.
auth_basic_passwordstringPassword, for basic.
auth_bearer_tokenstringToken, for bearer.
auth_header_keystringHeader name, for header.
auth_header_valuestringHeader value, for header.
custom_metadataobjectFree-form JSON.

webhooks_delete​

Destructive · scope inbox/webhooks + write · permission webhooks.delete · DELETE /webhooks/{id}

Soft-delete a webhook subscription. Pending deliveries stop.

ParameterTypeDescription
id requiredstringInternal id or external_id.

webhooks_test​

Destructive · scope inbox/webhooks + write · permission webhooks.test · POST /webhooks/{id}/test

Send a synthetic webhook.ping through the real signing and retry path, so you can validate URL and authentication. Answers 202.

ParameterTypeDescription
id requiredstringInternal id or external_id.
idempotency_keystringReplay guard, 8–255 chars.

webhooks_regenerate_secret​

Destructive · scope inbox/webhooks + write · permission webhooks.rotate-secret · POST /webhooks/{id}/regenerate-secret

Rotate the signing secret. The new one is returned once; the previous secret keeps validating during the grace window.

ParameterTypeDescription
id requiredstringInternal id or external_id.
idempotency_keystringReplay guard, 8–255 chars.

webhooks_deliveries_list​

Read · scope inbox/webhooks · permission webhooks.show · GET /webhooks/{id}/deliveries

Delivery attempts for one webhook, with HTTP status and attempt number.

ParameterTypeDescription
id requiredstringWebhook internal id or external_id.
cursorstringOpaque cursor from a previous page.
limitintegerPage size, default 25, max 100.
sortstringSort keys, - prefix for descending.
statuspending | success | failedFilter by delivery status.
attemptintegerFilter by attempt number.
response_statusintegerFilter by the HTTP status your endpoint answered.
system_event_idstring (uuid)Only deliveries of this event.
created_at_gte / created_at_ltestringISO 8601 range on created_at.

webhooks_deliveries_get​

Read · scope inbox/webhooks · permission webhooks.show · GET /webhooks/{id}/deliveries/{delivery_id}

Fetch one delivery attempt, including request and response headers and bodies.

ParameterTypeDescription
id requiredstringWebhook internal id or external_id.
delivery_id requiredstring (uuid)Delivery id.

webhooks_deliveries_replay​

Destructive · scope inbox/webhooks + write · permission webhooks.replay · POST /webhooks/{id}/deliveries/{delivery_id}/replay

Re-send one delivery with a fresh signature. Answers 202.

ParameterTypeDescription
id requiredstringWebhook internal id or external_id.
delivery_id requiredstring (uuid)Delivery id.
idempotency_keystringReplay guard, 8–255 chars.