Skip to content

Chat messages

Messages of public and private channels, with text as sanitized HTML. Read only: send them with the post action on the channel, as a system message. Direct messages and groups (encrypted) are not exposed.

Module: Chat (chat).

  • GET /api/v1/chat_messages - List with filters, sorting and pagination (scope chat:read)
  • GET /api/v1/chat_messages/{id} - A record by id (scope chat:read)
  • id (string, uuid; read): Unique identifier (UUID).
  • channel_id (string, uuid; read)
  • user_id (string; read)
  • seq (integer; read)
  • parent_id (string, uuid; read)
  • reply_count (integer; read)
  • last_reply_at (string, date-time; read)
  • body (string; read)
  • mentions (array; read)
  • entity_refs (object; read)
  • pinned_at (string, date-time; read)
  • pinned_by (string; read)
  • edited_at (string, date-time; read)
  • deleted_at (string, date-time; read): Deletion date; empty for active records.
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • ticket_id (string, uuid; read)
  • ticket_claim_at (string, date-time; read)