Create Lead
post /public/v1/leads/create
Request Body
| Name | Type | Required | Rule | Description |
|---|---|---|---|---|
string | Optional | email | the email of lead (email or phone must fill one) | |
| phone | object | Optional | the phone of lead | |
| phone.country_code | string | Optional | lead's phone country code | |
| phone.number | string | Optional | lead's phone number | |
| name | string | Mandatory | the name of lead | |
| gender | string | Optional | the gender of lead | |
| owner_id | string | Optional | length 8 | the owner_id of lead |
| comment | string | Optional | the comment of lead | |
| nationality | string | Optional | the nationality of lead |
Expected HTTP status code
- 201