post https://api.servetel.in/v1/broadcast/lead/
Create Lead
Leads can be created using the following manner.
curl --request POST \
--url https://api.servetel.in/v1/broadcast/lead/id \
--header 'accept: application/json' \
--header 'authorization: Bearer yourtokenhere' \
--header 'content-type: application/json'Path Parameters
| Variable Name | Description | Data type |
|---|---|---|
| id* | Unique ID of the List to which lead will corresponds to | String |
Request Variables
| Variable Name | Description | Data type |
|---|---|---|
| field_0* | Phone number of the lead. | Integer |
| filed_1 | Name of the lead. | String |
| field_2 | Email of the lead. | String |
| field_3 | Address of the lead. | String |
| field_4 | Company name of the lead. | String |
Fields can increase like field_5, field_6 etc. (custom fields) according to the field array that is set while creating the Broadcast List and are optional.
Error: response variables
| Variable Name | Description | Data type |
|---|---|---|
| success | Request success status | Boolean |
| message | Message corresponding success status | String |
