Skip to content
gist.link ↗

submitCheckInResponse

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

Answer a check-in for a day (defaults to today; upserts — answering again replaces the earlier answer). Any team member.

teams:mutation:submitCheckInResponse

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

type Mutation {
submitCheckInResponse(checkInId: Int!, body: String!, forDate: String): CheckInResponse!
}
Argument Type Required Description
checkInId Int! Yes —
body String! Yes —
forDate String No —

CheckInResponse! — 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": "mutation SubmitCheckInResponse($checkInId: Int!, $body: String!, $forDate: String) { submitCheckInResponse(checkInId: $checkInId, body: $body, forDate: $forDate) { id created_at updated_at } }",
"variables": {
"checkInId": 10,
"body": "example",
"forDate": "example"
}
}
JSON