# Add message Add a message to a conversation. For inbound messages the author is assumed to be the requester of the conversation (end user). For outbound messages the author is specified using the agentId field. If attachments are added to the message, they will be copied and stored in Dixa. Supported channels are Chat, Messenger, Contact Form, Email, Sms (outbound only), Whatsapp (outbound and Markdown only). Supported Markdown syntax for Markdown content: bold \\text\\, italic \text\, bold & italic \\\text\\\, strikethrough \~text\~, blockquote \> Quoted text. \n Message about quoted text, ordered list List:\n1. Item\n2. Item\n3. Item, unordered list List:\n\ Item\n\ Item\n\* Item, inline code This is \code\. Whatsapp channel: Only one attachment is allowed per WhatsApp message. Supports the following file types for attachments: .jpg, .jpeg, .png, .pdf, .doc, .docx, .pptx, .xlsx Endpoint: POST /beta/conversations/{conversationId}/messages Version: beta Security: ApiKeyAuth ## Path parameters: - `conversationId` (integer, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.content` (any, required) - `data.direction` (string, required) values: [Inbound, Internal, Outbound] - `data.authorId` (string, required) - `data.externalId` (string) - `data.messageId` (string) - `data.createdAt` (string) ## Response 400 fields (application/json): - `message` (string, required) ## Response 404 fields (application/json): - `message` (string, required) ## Response 500 fields (application/json): - `message` (string, required)