Skip to content
gist.link ↗

myTickets

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

The caller’s own tickets (customer portal). Any authenticated user.

support:query:myTickets

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 {
myTickets(first: Int, after: String): TicketConnection!
}
Argument Type Required Description
first Int No —
after String No —

TicketConnection! — 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 MyTickets($first: Int, $after: String) { myTickets(first: $first, after: $after) { totalCount edges { cursor node { id subject status created_at updated_at } } } }",
"variables": {
"first": 10,
"after": "cursor"
}
}
JSON