Skip to content
gist.link ↗

checkIn

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

A single check-in by id, within a team the caller can see. Authenticated.

teams:query:checkIn

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

CheckIn — 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 CheckIn($id: Int!) { checkIn(id: $id) { id team_id question cadence weekday hour active created_at } }",
"variables": {
"id": 10
}
}
JSON