Update Lead in Account DND List

This API allows you to update lead in the account DND List.

Sample Request

curl --request PUT \
     --url https://api.servetel.in/v1/broadcast/dnd/lead/id \
     --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 (Path Params)

The following parameter is required to Update Lead in Account DND List

Variable NameDescriptionData Type
idUnique ID of the Account DND list.String

Request Variables (Body Params)

The following parameter is required to Update Lead in Account DND List

Variable NameDescriptionData Type
number*Number to add/update in DND List.String
type*Type of number.String

Response Variables

The response returned is as following:

Variable NameDescriptionData Type
SuccessThe request success status, the possible values are: True (default) for success. False for failure.Boolean
MessageThe 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
Language
Click Try It! to start a request and see the response here!