Skip to content
gist.link ↗

setTyping

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

Ephemeral typing signal for a channel or conversation (exactly one). Publishes a typing Mercure event to the scope’s topic; nothing is stored. Clients throttle sends (~3s) and expire indicators locally.

teams:mutation:setTyping

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 {
setTyping(channelId: Int, conversationId: Int): Boolean!
}
Argument Type Required Description
channelId Int No —
conversationId Int No —

Boolean!.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation SetTyping($channelId: Int, $conversationId: Int) { setTyping(channelId: $channelId, conversationId: $conversationId) }",
"variables": {
"channelId": 10,
"conversationId": 10
}
}
JSON