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 textattachments(optional) — Array of attachment descriptors stored in metadatareply_to(optional) — ID of the message being replied tomentioned_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 found403— Not authorized
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
conversation_id
Request
This endpoint expects an object.
body
attachments
reply_to
mentioned_user_ids
Response
OK