/v1/broadcast/lead/{id}

Update details for given lead's id

Update a Lead

Lead can be Update using the following manner.

curl --request PUT \
  --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 NameDescriptionData type
id*Unique ID of the Lead to be updatedString

Request variables

Variable NameDescriptionData-type
field_0Phone number of the lead.Integer
field_1Name of the lead.String
field_2Email of the lead.String
field_3Address of the lead.String
field_4Company 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.

Response

Variable NameDescriptionData type
successRequest success statusBoolean
messageMessage corresponding success statusString
Language
Click Try It! to start a request and see the response here!