post https://api.servetel.in/v1/broadcast/dnd/lead
This API allows you to add lead to account DND List.
Sample Request
curl --request POST \
--url https://api.servetel.in/v1/broadcast/dnd/lead \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"type":"number"}'
š Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Body Params)
The following parameter is required to Add Lead to Account DND List
Variable Name | Description | Data Type |
---|---|---|
number* | Number to add/update in DND List. | String |
type* | Type of number. | 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 |