List webhook subscriptions
list_webhook_subscriptionsList resource-scoped webhook subscriptions, filterable by endpoint or by the watched resource (webhooks group). hasMore: true means more items exist — prefer narrowing filters over paginating, and pass nextPageToken only when every item is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (default 25). | |
| sortDir | No | Default desc. | |
| resourceId | No | Only subscriptions watching this resource. | |
| environment | Yes | "TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment). | |
| workspaceId | Yes | Target workspace (ws_...). Must be a granted workspace — get_me lists the accepted values. | |
| nextPageToken | No | Opaque cursor from the previous page. | |
| webhookEndpointId | No | Only subscriptions attached to this endpoint (wh_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| hasMore | Yes | ||
| nextPageToken | No |