webchat.message.received webhook event is triggered whenever a visitor sends a
message in a webchat session. This can be used to track incoming communication and
trigger real-time integrations.
Payload
Properties
| Property | Type | Description |
|---|---|---|
event | string | The webhook event type (webchat.message.received). |
data.sessionId | string | The unique identifier for the webchat session. |
data.orgId | string | The Apten organization ID that owns the session. |
data.profile | string | The name of the webchat profile that handled the session. |
data.origin | string | The URL of the page where the webchat widget was opened. Only included if set. |
data.messageId | string | The unique identifier for the message. |
data.content | string | The content of the message sent by the visitor. |
data.createdAt | string | The ISO 8601 timestamp when the message was received. |
timestamp | string | The ISO 8601 timestamp when the webhook was sent. |

