webchat.session.started webhook event is triggered whenever a new webchat session
is created. This can be used to track visitor engagement and pass custom metadata from
your website into downstream systems.
Payload
Properties
| Property | Type | Description |
|---|---|---|
event | string | The webhook event type (webchat.session.started). |
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.createdAt | string | The ISO 8601 timestamp when the session was created. |
data.additionalInfo | Record<string, string> | Custom key-value metadata passed when the session was created. Only included if non-empty. |
timestamp | string | The ISO 8601 timestamp when the webhook was sent. |

