Skip to main content

Webhooks

List Webhooks

Returns a page of webhooks in the current workspace. By default, the first 20 matching webhooks are ordered by creation time, newest first. Supplied filters are combined, count reports the total number of matches before pagination, and has_more indicates whether another page is available.

Create a Webhook

Creates a webhook that delivers the selected workspace events to an HTTPS endpoint. Generate a signing secret first with GET /v2/webhooks/secret.

Count Webhooks

Returns the total number of enabled and disabled webhooks in the current workspace.

Query Webhooks [deprecated]

Deprecated. Returns webhooks matching legacy query filters. Use GET /v2/webhooks for pagination, search, event filtering, and sorting.

Generate Secret

Generates a signing secret for verifying webhook deliveries. The secret is not persisted until it is used to create or update a webhook; store it securely.

Retrieve a Webhook

Retrieves a webhook in the current workspace by ID. The response includes its signing secret; treat it as sensitive.

Delete a Webhook

Deletes a webhook in the current workspace and returns the deleted webhook ID.

Update a Webhook

Updates the supplied fields on a webhook in the current workspace. Omitted fields are unchanged. The response contains the applied fields rather than the complete webhook.