Skip to content
gist.link ↗

team

Query Teams API — POST https://teams.api.gist.link/graphql

A single team by id, subject to the same visibility as teams. Authenticated.

teams:query:team

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

type Query {
team(id: Int!): Team
}
Argument Type Required Description
id Int! Yes —

Team — see the Teams types reference.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Team($id: Int!) { team(id: $id) { id name created_at updated_at } }",
"variables": {
"id": 10
}
}
JSON