Skip to content
gist.link ↗

card

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

A single card by id with its full discussion (comments) and activity trail populated — board payloads only carry comment_count. Any caller who can see the board.

teams:query:card

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

Card! — 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 Card($id: Int!) { card(id: $id) { id title created_at updated_at } }",
"variables": {
"id": 10
}
}
JSON