Skip to content
gist.link ↗

requesterStats

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

Ticket rollups for specific requester emails (campaigns audience enrichment). Returns one entry per requested email that exists as a requester in the organization (case-insensitive; unknown emails omitted). Spam and deleted tickets are excluded. At most 500 emails. Agents, plus org-bound service tokens.

support:query:requesterStats

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 {
requesterStats(emails: [String!]!): [RequesterStats!]!
}
Argument Type Required Description
emails [String!]! Yes —

[RequesterStats!]! — 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 RequesterStats($emails: [String!]!) { requesterStats(emails: $emails) { email ticket_count open_ticket_count last_ticket_at tags } }",
"variables": {
"emails": [
"ada@example.com"
]
}
}
JSON