> 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 # Package: inbox # Namespace: messages # Webhook link: https://dev.wix.com/docs/api-reference/crm/communication/inbox/messages/message-sent-to-participant.md ## Introduction Triggered when the business sends a message to a visitor, contact, or member. --- ## REST API ### Schema ``` Webhook: Message Sent To Participant Description: Triggered when the business sends a message to a visitor, contact, or member. Event body: - name: id | type: string | description: Unique event ID. Allows clients to ignore duplicate events. - name: entityFqdn | type: string | description: Fully qualified domain name of the entity associated with the event. - name: slug | type: string | description: Event name. - name: entityId | type: string | description: ID of the entity associated with the event. - name: eventTime | type: string (date-time) | description: Event timestamp. - name: triggeredByAnonymizeRequest | type: boolean | description: Whether the event was triggered as a result of a privacy regulation application such as GDPR. - name: originatedFrom | type: string | description: If present, indicates the action that triggered the event. - name: actionEvent | type: object | description: Custom action event details. - name: body | type: MessageSentToParticipant | description: The event body. - name: conversationId | type: string | description: Conversation GUID. - name: message | type: Message | description: Sent message. - name: id | type: string | description: Message GUID. - name: content | type: MessageContent | description: Structured message content. - 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: urlExpiration | type: string | description: Expiration date and time of the URL in `YYYY-MM-DDThh:mm:ss.sssZ` format. - 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: urlExpiration | type: string | description: Expiration date and time of the URL in `YYYY-MM-DDThh:mm:ss.sssZ` format. - 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