Skip to content
gist.link ↗

requesters

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

Ticket requesters (customers) in the organization with ticket rollups, as a paginated connection. search matches email or name; sort.field is one of id, email, name, created_at (default id ASC). Agents, plus org-bound service tokens (e.g. campaigns’ built-in “Support requesters” source).

support:query:requesters

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 {
requesters(search: String, sort: SortInput, first: Int, after: String): RequesterConnection!
}
Argument Type Required Description
search String No —
sort SortInput No —
first Int No —
after String No —

RequesterConnection! — 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 Requesters($search: String, $sort: SortInput, $first: Int, $after: String) { requesters(search: $search, sort: $sort, first: $first, after: $after) { totalCount edges { cursor node { id email name created_at updated_at } } } }",
"variables": {
"search": "example",
"sort": {
"field": "example",
"direction": "example"
},
"first": 10,
"after": "cursor"
}
}
JSON