post https://api.servetel.in/v1/broadcast/lead/
This API allows you to add a lead in lead list.
Sample Request
curl --request POST \
--url https://api.servetel.in/v1/broadcast/lead/id \
--header 'accept: application/json' \
--header 'content-type: application/json'
š Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Path Params)
The following parameter is required to add a lead in lead list:
Variable Name | Description | Data Type |
---|---|---|
id | Unique ID of the active broadcast. | String |
Request Variables (Body Params)
The following parameter is required to add a lead in lead list:
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 |
field_5 | Custom Field 1. | String |
field_6 | Custom Field 2. | String |
field_7 | Custom Field 3. | String |
field_8 | Custom Field 4. | String |
field_9 | Custom Field 5. | String |
field_10 | Custom Field 6. | String |
field_11 | Custom Field 7. | String |
field_12 | Custom Field 8. | String |
field_13 | Custom Field 9. | String |
field_14 | Custom Field 10. | String |
field_15 | Custom Field 11. | String |
Response Variables
The response returned is as following:
Variable Name | Description | Data Type |
---|---|---|
Success | The request success status, the possible values are: True (default) for success. False for failure. | Boolean |
Message | The message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here. | String |