Skip to content
gist.link ↗

ticket

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

A single ticket by id, subject to the same scoping as tickets. Authenticated.

support:query:ticket

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 {
ticket(id: Int!): Ticket
}
Argument Type Required Description
id Int! Yes —

Ticket — 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 Ticket($id: Int!) { ticket(id: $id) { id subject status created_at updated_at } }",
"variables": {
"id": 10
}
}
JSON