Teams API
Team messaging, boards, docs, meetings, and check-ins.
| Endpoint | POST https://teams.api.gist.link/graphql |
| Token audience | audience=teams |
| Permission prefix | teams: |
Mint an access token for this API with your IAM key and audience=teams
— see Authentication.
Queries
Section titled “Queries”| Operation | Required permission | Description |
|---|---|---|
board |
teams:query:board |
A single board by id, within a team the caller can see. Authenticated. |
card |
teams:query:card |
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. |
channel |
teams:query:channel |
A single channel by id, within a team the caller can see. Authenticated. |
channelCatchUp |
teams:query:channelCatchUp |
“Catch me up”: an AI markdown digest of the messages in a channel newer than the caller’s read position (max 300 considered). Never advances the caller’s read state. Team members only. |
checkIn |
teams:query:checkIn |
A single check-in by id, within a team the caller can see. Authenticated. |
conversation |
teams:query:conversation |
A single conversation by id. Members only (non-members get NOT_FOUND). |
conversations |
teams:query:conversations |
DMs and group DMs the caller belongs to, most recent activity first. Authenticated. |
doc |
teams:query:doc |
A single doc by id, within a team the caller can see. Authenticated. |
home |
teams:query:home |
The caller’s personal dashboard digest: active meetings they can join, unread channels/DMs, recent chat activity, assigned cards, and check-ins awaiting an answer today. Always the member view (never org-admin-wide). Authenticated. |
meeting |
teams:query:meeting |
A meeting room by code, scoped to the caller’s organization. Authenticated. |
myNotifications |
teams:query:myNotifications |
The caller’s own notifications, cursor-paginated. Authenticated. |
presence |
teams:query:presence |
Presence for up to 100 org users: online = heartbeat seen within the freshness window (~2.5 min). Org-scoped; any authenticated member. |
projectRollup |
teams:query:projectRollup |
Cross-team project rollup: aggregated open/overdue/due-soon counts per board across every team the caller can see (org admins: all org teams), teams with the most overdue work first. Empty boards are included with zero counts. Authenticated. |
realtimeToken |
teams:query:realtimeToken |
Mercure hub URL + subscriber JWT scoped to the caller’s readable topics (their user topic, channels of their teams, their conversations). Re-querty as the token approaches expiry (1h TTL). Authenticated. |
searchMessages |
teams:query:searchMessages |
Case-insensitive substring search over chat message bodies in every channel and conversation the caller can see, newest first (max 50). Authenticated. |
team |
teams:query:team |
A single team by id, subject to the same visibility as teams. Authenticated. |
teams |
teams:query:teams |
Teams visible to the caller, cursor-paginated. ROLE_ADMIN/ROLE_SUPER_ADMIN see every team in the organization; any other authenticated user sees only teams they belong to. |
teamWorkload |
teams:query:teamWorkload |
Team workload: every card on the team’s boards grouped by assignee with open/overdue/due-soon counts, busiest member first; an “unassigned” bucket (member: null) trails when non-empty. Any caller who can see the team. |
Mutations
Section titled “Mutations”| Operation | Required permission | Description |
|---|---|---|
addCardComment |
teams:mutation:addCardComment |
Comment on a card (max 10,000 chars). Any team member. |
addComment |
teams:mutation:addComment |
Add a comment (reply) to a post. Any team member. |
addReaction |
teams:mutation:addReaction |
Add an emoji reaction to a message (idempotent). Anyone who can see it. |
addTeamMember |
teams:mutation:addTeamMember |
Add a member to a team by auth user uuid. Owner only. |
appendMeetingTranscript |
teams:mutation:appendMeetingTranscript |
AI notetaker ingest: append transcript lines captured in the speaker’s own browser (Web Speech API). The speaker is always the caller. Batched (max 50 entries/request). Active meetings only. Authenticated, org-scoped. |
archiveChannel |
teams:mutation:archiveChannel |
Archive a channel (soft delete). Owner only. |
archiveTeam |
teams:mutation:archiveTeam |
Archive a team (soft delete). Owner only. |
createBoard |
teams:mutation:createBoard |
Create a task board within a team. Any team member. |
createCard |
teams:mutation:createCard |
Create a card in a column. Any team member. |
createChannel |
teams:mutation:createChannel |
Create a channel within a team. Any team member. |
createChatAttachmentUpload |
teams:mutation:createChatAttachmentUpload |
Presigned upload ticket for a chat attachment (≤25 MB). The browser PUTs the raw file to uploadUrl with the returned headers, then calls finalizeChatAttachment. Files live in Drive’s managed “teams” folder. |
createCheckIn |
teams:mutation:createCheckIn |
Create a recurring check-in question. Team owner only. |
createColumn |
teams:mutation:createColumn |
Create a column on a board. Any team member. |
createConversation |
teams:mutation:createConversation |
Start a DM or group DM. 1:1 conversations are deduplicated — messaging the same person again returns the existing conversation. The caller is always a member; title only applies to group conversations. |
createDoc |
teams:mutation:createDoc |
Create a doc in a team. Any team member. |
createMeeting |
teams:mutation:createMeeting |
Create an ad-hoc video meeting room. Authenticated. |
createMeetingRecordingUpload |
teams:mutation:createMeetingRecordingUpload |
Presigned browser upload for a meeting audio recording (≤500 MB, webm/opus from MediaRecorder). PUT the blob to uploadUrl with the returned headers, then call finalizeMeetingRecording. Anyone who can see the meeting. |
createPost |
teams:mutation:createPost |
Post a message to a channel. Any team member. |
createTeam |
teams:mutation:createTeam |
Create a team; the caller becomes its first owner. Authenticated. |
deleteCard |
teams:mutation:deleteCard |
Delete a card; returns the deleted row. Any team member. |
deleteCardComment |
teams:mutation:deleteCardComment |
Delete a card comment. Author or team owner. |
deleteCheckIn |
teams:mutation:deleteCheckIn |
Delete a check-in and its responses. Team owner only. |
deleteComment |
teams:mutation:deleteComment |
Delete a comment; returns the deleted row. Author or team owner. |
deleteDoc |
teams:mutation:deleteDoc |
Delete a doc. Author or team owner. |
deleteMessage |
teams:mutation:deleteMessage |
Delete a chat message. Author (channel: also team owner/org admin). |
deletePost |
teams:mutation:deletePost |
Delete a post; returns the deleted row. Author or team owner. |
endHuddle |
teams:mutation:endHuddle |
End the channel’s active huddle, if any. Any team member. |
endMeeting |
teams:mutation:endMeeting |
End a meeting for everyone. Creator or org admin. |
finalizeChatAttachment |
teams:mutation:finalizeChatAttachment |
Finalize an uploaded chat attachment; returns the value for SendMessageInput.attachments. |
finalizeMeetingRecording |
teams:mutation:finalizeMeetingRecording |
Finalize the uploaded recording; pins the Drive node + public URL on the meeting. |
generateMeetingNotes |
teams:mutation:generateMeetingNotes |
Summarize the captured transcript into markdown meeting notes (stored on the meeting; regenerating overwrites). Uses the configured LLM, with a deterministic digest fallback when none is configured. Authenticated. |
heartbeat |
teams:mutation:heartbeat |
Record the caller as online (call every ~60s while the app is open). |
joinMeeting |
teams:mutation:joinMeeting |
Join a meeting: returns the meeting plus a LiveKit ws_url + access token. Fails with BAD_USER_INPUT if the meeting has ended. Authenticated, org-scoped. |
markAllRead |
teams:mutation:markAllRead |
Mark all of the caller’s notifications read. Authenticated. |
markChannelRead |
teams:mutation:markChannelRead |
Record the caller’s read position in a channel’s chat stream (the channel counterpart of markConversationRead; positions only move forward). Any team member. |
markConversationRead |
teams:mutation:markConversationRead |
Record the caller’s read position in a conversation. Members only. |
markNotificationRead |
teams:mutation:markNotificationRead |
Mark a single notification read. Authenticated (own notification only). |
moveCard |
teams:mutation:moveCard |
Move a card to another column and/or position. Any team member. |
moveColumn |
teams:mutation:moveColumn |
Move a column to a new position among its siblings. Any team member. |
pinDoc |
teams:mutation:pinDoc |
Pin/unpin a doc. Any team member. |
pinMessage |
teams:mutation:pinMessage |
Pin a channel message (any team member). Channel messages only. |
pinPost |
teams:mutation:pinPost |
Pin/unpin a post at the top of its channel. Any team member. |
removeReaction |
teams:mutation:removeReaction |
Remove the caller’s emoji reaction from a message. |
removeTeamMember |
teams:mutation:removeTeamMember |
Remove a member from a team. Owner only; cannot remove the last owner. |
renameColumn |
teams:mutation:renameColumn |
Rename a column. Any team member. |
sendMessage |
teams:mutation:sendMessage |
Send a chat message. Provide exactly one of channelId (team member only) or conversationId (conversation member only). parentId threads one level deep. |
setDocEditing |
teams:mutation:setDocEditing |
Ephemeral “I’m editing this doc” signal. Publishes a doc.editing Mercure event to the team topic; nothing is stored. Clients re-ping (~5s) while the editor is open and expire indicators locally. Any team member. |
setMemberRole |
teams:mutation:setMemberRole |
Change a member’s role (owner/member). Owner only; cannot demote the last owner. |
setTyping |
teams:mutation:setTyping |
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. |
startHuddle |
teams:mutation:startHuddle |
Start (or return the already-running) huddle in a channel. Any team member. Publishes huddle.started to the channel topic. |
submitCheckInResponse |
teams:mutation:submitCheckInResponse |
Answer a check-in for a day (defaults to today; upserts — answering again replaces the earlier answer). Any team member. |
unpinMessage |
teams:mutation:unpinMessage |
Unpin a channel message (any team member). |
updateCard |
teams:mutation:updateCard |
Update a card’s title/description/assignee/due date/labels. Any team member. |
updateChannel |
teams:mutation:updateChannel |
Update a channel’s name/topic. Any team member. |
updateCheckIn |
teams:mutation:updateCheckIn |
Update a check-in’s question/schedule/active flag. Team owner only. |
updateDoc |
teams:mutation:updateDoc |
Edit a doc’s title/body (collaborative). Any team member. Pass the revision you loaded as input.baseRevision to get a BAD_USER_INPUT conflict instead of silently overwriting a concurrent save; each successful edit bumps revision and publishes doc.updated on the team’s Mercure topic. |
updateMessage |
teams:mutation:updateMessage |
Edit a chat message’s body. Only the original author. |
updatePost |
teams:mutation:updatePost |
Edit a post’s body. Only the original author. |
updateTeam |
teams:mutation:updateTeam |
Update a team’s name/slug/description. Owner only. |
Internal operations
Section titled “Internal operations”The following operations exist in the schema but are reserved for internal
suite automation (service tokens or suite operators) and are not available
to IAM credentials: provisionMeetingRoom.