> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # SendMessage # Package: inbox # Namespace: MessagesService # Method link: https://dev.wix.com/docs/api-reference/crm/communication/inbox/messages/send-message.md ## Permission Scopes: Manage Inbox Messages: SCOPE.DC-INBOX.MANAGE-MSGS ## Introduction Sends a message to the business or participant. Specify the message type in `message.content` by including the appropriate object: `basic`, `template`, `minimal`, or `form`. For more information on message types and how each type renders in Inbox and the Chat widget, see [Message Types](#message-types). --- ## REST API ### Schema ``` Method: sendMessage Description: Sends a message to the business or participant. Specify the message type in `message.content` by including the appropriate object: `basic`, `template`, `minimal`, or `form`. For more information on message types and how each type renders in Inbox and the Chat widget, see [Message Types](#message-types). URL: https://www.wixapis.com/inbox/v2/messages Method: POST # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: conversationId, message, message.content Method parameters: param name: conversationId | type: conversationId | description: GUID of the conversation to add the message to. | required: true param name: message | type: Message | required: true - name: content | type: MessageContent | description: Structured message content. | required: true - ONE-OF: - name: basic | type: BasicMessagePayload | description: Plain text, file, or image message. - name: items | type: array | description: List of plain text messages, images, and/or files. List items are displayed as separate messages in Inbox and the site's chat widget. - ONE-OF: - name: text | type: string | description: Text message. - name: image | type: ImageMessage | description: Image message. Can contain an image from Wix Media or from an external provider. - name: id | type: string | description: Wix Media GUID. - name: url | type: string | description: URL where the image is hosted. This URL is valid for 10 hours from the time the message is sent. - name: filename | type: string | description: File name of the original file. - name: width | type: integer | description: Original image width, in pixels. - name: height | type: integer | description: Original image height, in pixels. - name: file | type: FileMessage | description: File attachment. Can contain a file from Wix Media or an external provider. - name: id | type: string | description: Wix Media GUID. - name: url | type: string | description: URL where the image is hosted. This URL is valid for 10 hours from the time the message is sent. - name: filename | type: string | description: File name of the original file. - name: mimeType | type: string | description: File [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types). - name: template | type: TemplateMessagePayload | description: Template containing an image, title, text, and/or up to 10 call-to-action buttons. - name: title | type: string | description: Title displayed in the message. - name: buttons | type: array