Chat channels
Public and private channels of the internal chat. Direct messages and groups are not exposed. No webhooks: private channels do not leave the company. Messages are sent with the post action.
Module: Chat (chat).
Endpoints
Section titled “Endpoints”GET /api/v1/chat_channels- List with filters, sorting and pagination (scopechat:read)GET /api/v1/chat_channels/{id}- A record by id (scopechat:read)POST /api/v1/chat_channels- Create a record (scopechat:write)PATCH /api/v1/chat_channels/{id}- Modify the submitted fields (scopechat:write)POST /api/v1/chat_channels/{id}/post- Sends a system message to the channel (it appears without an author, like the app’s automatic messages). Plain text; line breaks become paragraphs. You cannot write to an archived channel. (scopechat:write)POST /api/v1/chat_channels/{id}/archive- Archives the channel: it can be read, but receives no more messages and the AI assistant stops on it. (scopechat:write)POST /api/v1/chat_channels/{id}/unarchive- Reopens an archived channel. (scopechat:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).kind(string; write)name(string; write, required)topic(string; write)dm_key(string; read)entity_type(string; read)entity_id(string, uuid; read)ai_enabled(boolean; write)ai_scanned_seq(integer; read)last_seq(integer; read)last_message_at(string, date-time; read)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).archived_at(string, date-time; read)member_ids(array; write)archived(boolean; write)