# Chat

The Chat operations (37).

Internal chat: your rooms (space groups, All, private groups, direct messages), messages with mentions, ticket cards, quotes, reactions, edits and pins, read positions, search, files, Ask the team, and the rooms’ incoming webhooks with the public post through their secret URL.

## Operations

| Operation | Method | Path | MCP action |
| --- | --- | --- | --- |
| [List your chat rooms](/developers/docs/api-reference/chat/listChatRooms) | `GET` | `/v1/chat/rooms` | `list_chat_rooms` |
| [A chat room](/developers/docs/api-reference/chat/getChatRoom) | `GET` | `/v1/chat/rooms/{roomId}` | `get_chat_room` |
| [Rename a private group](/developers/docs/api-reference/chat/renameChatGroup) | `PATCH` | `/v1/chat/rooms/{roomId}` | `rename_chat_group` |
| [Create a private group](/developers/docs/api-reference/chat/createChatGroup) | `POST` | `/v1/chat/groups` | `create_chat_group` |
| [Open a direct message](/developers/docs/api-reference/chat/openDirectMessage) | `POST` | `/v1/chat/direct` | `open_direct_message` |
| [A room's members](/developers/docs/api-reference/chat/listChatRoomMembers) | `GET` | `/v1/chat/rooms/{roomId}/members` | `list_chat_room_members` |
| [Add members to a private group](/developers/docs/api-reference/chat/addChatGroupMembers) | `POST` | `/v1/chat/rooms/{roomId}/members` | `add_chat_group_members` |
| [Remove a member from a private group](/developers/docs/api-reference/chat/removeChatGroupMember) | `DELETE` | `/v1/chat/rooms/{roomId}/members/{membershipId}` | `remove_chat_group_member` |
| [Leave a private group](/developers/docs/api-reference/chat/leaveChatRoom) | `POST` | `/v1/chat/rooms/{roomId}/leave` | `leave_chat_room` |
| [Set a room's notifications](/developers/docs/api-reference/chat/setChatNotify) | `PUT` | `/v1/chat/rooms/{roomId}/notify` | `set_chat_notify` |
| [Say you are typing in a room](/developers/docs/api-reference/chat/setChatTyping) | `POST` | `/v1/chat/rooms/{roomId}/typing` | `set_chat_typing` |
| [Mark a room as read](/developers/docs/api-reference/chat/markChatRead) | `POST` | `/v1/chat/rooms/{roomId}/read` | `mark_chat_read` |
| [A room's messages](/developers/docs/api-reference/chat/listChatMessages) | `GET` | `/v1/chat/rooms/{roomId}/messages` | `read_chat_messages` |
| [Post a message](/developers/docs/api-reference/chat/postChatMessage) | `POST` | `/v1/chat/rooms/{roomId}/messages` | `post_chat_message` |
| [Ask the team about a ticket](/developers/docs/api-reference/chat/askTheTeam) | `POST` | `/v1/chat/ask-the-team` | `ask_the_team` |
| [A room's pinned messages](/developers/docs/api-reference/chat/listPinnedChatMessages) | `GET` | `/v1/chat/rooms/{roomId}/pins` | `list_pinned_chat_messages` |
| [A chat message](/developers/docs/api-reference/chat/getChatMessage) | `GET` | `/v1/chat/messages/{messageId}` | `get_chat_message` |
| [Edit your message](/developers/docs/api-reference/chat/editChatMessage) | `PATCH` | `/v1/chat/messages/{messageId}` | `edit_chat_message` |
| [Delete your message](/developers/docs/api-reference/chat/deleteChatMessage) | `DELETE` | `/v1/chat/messages/{messageId}` | `delete_chat_message` |
| [A message's edit history](/developers/docs/api-reference/chat/listChatMessageEdits) | `GET` | `/v1/chat/messages/{messageId}/edits` | `list_chat_message_edits` |
| [Mark a message as unread](/developers/docs/api-reference/chat/markChatMessageUnread) | `POST` | `/v1/chat/messages/{messageId}/unread` | `mark_chat_message_unread` |
| [React to a message](/developers/docs/api-reference/chat/addChatReaction) | `POST` | `/v1/chat/messages/{messageId}/reactions` | `add_chat_reaction` |
| [Remove your reaction](/developers/docs/api-reference/chat/removeChatReaction) | `DELETE` | `/v1/chat/messages/{messageId}/reactions/{emoji}` | `remove_chat_reaction` |
| [Pin a message at the top of its room](/developers/docs/api-reference/chat/pinChatMessage) | `PUT` | `/v1/chat/messages/{messageId}/pin` | `pin_chat_message` |
| [Unpin a message](/developers/docs/api-reference/chat/unpinChatMessage) | `DELETE` | `/v1/chat/messages/{messageId}/pin` | `unpin_chat_message` |
| [Search your chat messages](/developers/docs/api-reference/chat/searchChat) | `GET` | `/v1/chat/search` | `search_chat` |
| [Upload a file to a chat room](/developers/docs/api-reference/chat/requestChatAttachmentUpload) | `POST` | `/v1/chat/rooms/{roomId}/attachments` | `request_chat_attachment_upload` |
| [Complete a chat file upload](/developers/docs/api-reference/chat/completeChatAttachmentUpload) | `POST` | `/v1/chat/attachments/{attachmentId}/complete` | `complete_chat_attachment_upload` |
| [Renew a chat file upload](/developers/docs/api-reference/chat/renewChatAttachmentUpload) | `POST` | `/v1/chat/attachments/{attachmentId}/renew` | `renew_chat_attachment_upload` |
| [Get a chat file (its scan status)](/developers/docs/api-reference/chat/getChatAttachment) | `GET` | `/v1/chat/attachments/{attachmentId}` | `get_chat_attachment` |
| [Scan a chat file for malware again after its scan failed](/developers/docs/api-reference/chat/retryChatAttachmentScan) | `POST` | `/v1/chat/attachments/{attachmentId}/scan/retry` | `retry_chat_attachment_scan` |
| [A download link for a chat file (valid 5 minutes)](/developers/docs/api-reference/chat/downloadChatAttachment) | `GET` | `/v1/chat/attachments/{attachmentId}/download` | `download_chat_attachment` |
| [Import chat messages from another app](/developers/docs/api-reference/chat/importChatMessages) | `POST` | `/v1/chat/imports` | `import_chat_messages` |
| [List a room's incoming webhooks](/developers/docs/api-reference/chat/listChatIncomingWebhooks) | `GET` | `/v1/chat/rooms/{roomId}/incoming-webhooks` | `list_chat_incoming_webhooks` |
| [Create an incoming webhook](/developers/docs/api-reference/chat/createChatIncomingWebhook) | `POST` | `/v1/chat/rooms/{roomId}/incoming-webhooks` | `create_chat_incoming_webhook` |
| [Make a new URL for an incoming webhook](/developers/docs/api-reference/chat/regenerateChatIncomingWebhookUrl) | `POST` | `/v1/chat/incoming-webhooks/{id}/url` | `regenerate_chat_incoming_webhook_url` |
| [Revoke an incoming webhook](/developers/docs/api-reference/chat/revokeChatIncomingWebhook) | `DELETE` | `/v1/chat/incoming-webhooks/{id}` | `revoke_chat_incoming_webhook` |
