Skip to content
gist.link ↗

ticketBucketCounts

Query Support API — POST https://support.api.gist.link/graphql

Ticket counts for the Spam and Deleted sidebar destinations. ROLE_SUPPORT_AGENT/ROLE_ADMIN.

support:query:ticketBucketCounts

The calling IAM key must hold this permission (or a wildcard that covers it: support:query:* or support:*) and the access token must have been minted with audience=support. See Permissions.

type Query {
ticketBucketCounts: TicketBucketCounts!
}

This query takes no arguments.

TicketBucketCounts! — see the Support types reference.

Terminal window
curl https://support.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query TicketBucketCounts { ticketBucketCounts { spam deleted } }",
"variables": {}
}
JSON