webchat.contactForm.submitted webhook event is triggered whenever a visitor submits
the contact form inside a webchat session. This fires before the session is converted
into a lead and lets you react to captured contact information immediately.
Payload
Properties
| Property | Type | Description |
|---|---|---|
event | string | The webhook event type (webchat.contactForm.submitted). |
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.firstName | string | The visitor’s first name. Only included if provided. |
data.lastName | string | The visitor’s last name. Only included if provided. |
data.phone | string | The visitor’s phone number. Only included if provided. |
data.email | string | The visitor’s email address. Only included if provided. |
data.conversionReady | boolean | Whether the submitted information is sufficient to convert the session into a lead. |
timestamp | string | The ISO 8601 timestamp when the webhook was sent. |

