v171

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
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.

get/v2/webhooks

Query parameters

pageinteger

One-based page number. Defaults to 1 and must be between 1 and 1,000,000.

limitinteger

Number of webhooks to return per page. Defaults to 20 and must be between 1 and 200.

searchstring

Optional case-insensitive substring matched against display name, content type, and URL. Maximum length is 200 characters.

eventstring

Optional event slug that must be present in the webhook's event subscriptions, for example llm.response. Maximum length is 200 characters.

sortstring

Field used to order results. Allowed values are created, updated, and display_name. Defaults to created.

directionstring

Sort direction. Allowed values are asc and desc. Defaults to desc.

content_typestring

Optional comma-separated content types to match, for example application/json,application/x-www-form-urlencoded. A webhook matches when its content type equals any supplied value.

enabledboolean

Optional delivery status filter. When omitted, enabled and disabled webhooks are returned.

Response

OK

countinteger required

Total number of webhooks matching the filters, before pagination.

has_moreboolean required

Whether another page of matching webhooks is available.