webhookDeliveriesCount
Requires permission settings:webhooks:read.
Returns how many deliveries match the same endpoint and status filter as webhookDeliveries, ignoring paging, for a delivery-log pager. Requires permission to read webhooks.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query WebhookDeliveriesCount {
webhookDeliveriesCount
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query WebhookDeliveriesCount {\n webhookDeliveriesCount\n}"
}
EOF
Response:
{
"data": {
"webhookDeliveriesCount": 0
}
}
webhookDeliveriesCount(
filter: WebhookDeliveryFilterInput
): Int!
Arguments
webhookDeliveriesCount.filter ● WebhookDeliveryFilterInput input
Optional filters. Only the endpoint and the status are used.
Type
Int scalar
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.