For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
List webhook targets
Query
Variables
Get a webhook target by ID
Query
Variables
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetch webhook targets by ID or as a paginated collection.
query getWebhookTargets($first: Int = 50, $after: String) {
webhookTargets(first: $first, after: $after) {
edges {
node {
id
url
description
version
isEnabled
eventSubscriptions {
eventType
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
{
"first": 50
}
query getWebhookTarget($webhookTargetId: ID!) {
webhookTarget(webhookTargetId: $webhookTargetId) {
id
url
description
version
isEnabled
eventSubscriptions {
eventType
}
}
}
{
"webhookTargetId": "wt_01HXXXXXXXXXXXXXXXXXXXXXXX"
}
Was this page helpful?
