Documentation Index
Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
List webhook targets
query getWebhookTargets($first: Int = 50, $after: String) {
webhookTargets(first: $first, after: $after) {
edges {
node {
id
url
description
version
isEnabled
eventSubscriptions {
eventType
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
Get a webhook target by ID
query getWebhookTarget($webhookTargetId: ID!) {
webhookTarget(webhookTargetId: $webhookTargetId) {
id
url
description
version
isEnabled
eventSubscriptions {
eventType
}
}
}
{
"webhookTargetId": "wt_01HXXXXXXXXXXXXXXXXXXXXXXX"
}