Skip to navigation

Send Message

Send a message in a conversation.

Authentication: Required — Bearer token. Allowed for admins or participants.

Path parameters:

  • conversation_id (required) — Conversation ID

Request body:

  • body — Message text
  • attachments (optional) — Array of attachment descriptors stored in metadata
  • reply_to (optional) — ID of the message being replied to
  • mentioned_user_ids (optional) — Array of explicitly mentioned user IDs

Response: data — The created message.

Side effects: Marks the sender read, records mentions, and broadcasts message_created.

Errors:

  • 404 — Conversation not found
  • 403 — Not authorized

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

conversation_idstringRequired

Request

This endpoint expects an object.
bodystringOptional
attachmentslist of anyOptional
reply_toany or nullOptional
mentioned_user_idslist of anyOptional

Response

OK