Query
query Webhooks {
webhooks {
edges {
cursor
node {
createdAt
destinationType
endpoint
filter
filterDialectVersion
id
}
}
nodes {
createdAt
destinationType
endpoint
filter
filterDialectVersion
id
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"webhooks": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"destinationType": "WEBHOOK",
"endpoint": "string",
"filter": "string",
"filterDialectVersion": 1,
"id": "value"
}
}
],
"nodes": [
{
"createdAt": "value",
"destinationType": "WEBHOOK",
"endpoint": "string",
"filter": "string",
"filterDialectVersion": 1,
"id": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
webhooks
Lists the tenant’s webhooks, ordered by name. Deleted webhooks are included; filter status: { eq: ACTIVE } for the ones delivering now. Pages forward only (first, after): 50 by default, at most 100.
QUERY
webhooks(after: String, before: String, first: Int, last: Int, where: WebhookFilterInput): WebhooksConnectionArguments
after
String
Returns the elements in the list that come after the specified cursor.
before
String
Returns the elements in the list that come before the specified cursor.
first
Int
Returns the first n elements from the list.
last
Int
Returns the last n elements from the list.
where
Returns
edges
[WebhooksEdge!]
A list of edges.
nodes
[Webhook!]
A flattened list of the nodes.
pageInfo
Information to aid in pagination.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query Webhooks {
webhooks {
edges {
cursor
node {
createdAt
destinationType
endpoint
filter
filterDialectVersion
id
}
}
nodes {
createdAt
destinationType
endpoint
filter
filterDialectVersion
id
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"webhooks": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"destinationType": "WEBHOOK",
"endpoint": "string",
"filter": "string",
"filterDialectVersion": 1,
"id": "value"
}
}
],
"nodes": [
{
"createdAt": "value",
"destinationType": "WEBHOOK",
"endpoint": "string",
"filter": "string",
"filterDialectVersion": 1,
"id": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?