Create Lead Settings
Lead Settings
Create Lead Settings
Create lead collection settings for a chatbot
POST
Create Lead Settings
customerFormField
customerFormField is an array of custom form field objects that appear in the lead capture form alongside the built-in name/email/phone fields.
Each object in the array has the following shape:
| Property | Type | Required | Description |
|---|---|---|---|
display_label | string | Yes | The label shown to the user above the field |
field_name | string | Yes | Internal key used to store the value (snake_case, e.g. company_name) |
field_type | string | Yes | Input type — one of "text", "textarea", "email", "phone" |
required | boolean | Yes | Whether the field is mandatory before form submission |
placeholder_text | string | No | Placeholder hint shown inside the input |
options | string | No | Reserved for future use; pass an empty string "" |
Example
Fields with an empty
display_label are ignored by the chatbot UI and will not be rendered in the form preview.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
All fields are optional. Only provided fields are applied.