Send Message
Chat — Messages
Send Message
Send a message to a conversation
POST
Send Message
Creates a new message in a conversation. The caller must be an active member. At least one ofDocumentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
content, gif, or a file attachment is required.
For space conversations with postingPermission: "admins", only users with admin or moderator role in the parent Space can send messages.
This endpoint accepts multipart/form-data to support file attachments alongside message content.
Path Parameters
The ID of the conversation to send the message to.
Body Parameters
Text content of the message. Optional if a GIF or file is provided.
ID of a message in this conversation to reply to in a thread. The referenced message must be a main-stream message (threads are one level deep only). Optional.
ID of a message to quote inline. The message stays in the main stream but renders the quoted content as a preview. Optional.
Custom key-value data. Limited to 10 KB. Optional.
Client-generated identifier for optimistic deduplication. The server echoes it back in the response but never stores it. Optional.
File attachments (multipart/form-data). Up to 10 files per message. Optional.
Response
Returns the created ChatMessage object, fully populated withuser, quotedMessage, files, reactionCounts (empty on creation), and userReactions (empty on creation). If localId was provided, it is echoed in the response.
Error Responses
Empty Message — 400 Bad Request
Empty Message — 400 Bad Request
Forbidden — 403
Forbidden — 403
Invalid Parent — 400 Bad Request
Invalid Parent — 400 Bad Request

