Skip to content
gist.link ↗

heartbeat

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

Record the caller as online (call every ~60s while the app is open).

teams:mutation:heartbeat

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 {
heartbeat: Boolean!
}

This mutation takes no arguments.

Boolean!.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation Heartbeat { heartbeat }",
"variables": {}
}
JSON