Broadcast List

Get the list of all Broadcast Lists

List for broadcast can be created using the following manner

curl --request GET \
  --url https://api.servetel.in/v1/broadcast/lists \
  --header 'accept: application/json' \
  --header 'authorization: Bearer yourtokenhere'

Below are the response variables

Variable NameDescriptionData Type
idUnique ID of the broadcast listInteger
nameName of the broadcastString
descriptionDescription Related to broadcastString
count_idCount of leads associated with the listInteger

Creating a Broadcast List

Broadcast List can be created using the following manner

curl --request POST \
  --url https://api.servetel.in/v1/broadcast/list \
  --header 'accept: application/json' \
  --header 'authorization: Bearer yourtokenhere' \
  --header 'content-type: application/json'

Below is the list of request variables

Variable NameDescriptionData-Type
name*Name of the ListString
description*Description for the Broadcast ListString
fieldArray of custom fields to be associated with Leads inside a listarray[String]

Response variables

Variable NameDescriptionData type
successRequest success statusBoolean
list_idUnique ID of the list createdInteger
messageMessage corresponding success statusString

Update a Broadcast List

Broadcast List can be updated using the following manner

curl --request PUT \
  --url https://api.servetel.in/v1/broadcast/list/id \
  --header 'accept: application/json' \
  --header 'authorization: Bearer yourtokenhere' \
  --header 'content-type: application/json'

Path Parameters

Variable NameDescriptionData type
id*Unique ID of the Broadcast List that needs to updatedString

List of request Variables

Variable NameDescriptionData Type
name*Name for the ListString
description*Description for the broadcast ListString

Response variables

Variable NameDescriptionData type
successRequest success statusBoolean
messageMessage corresponding success statusString

Delete a Broadcast List

Broadcast List can be deleted using the below

curl --request DELETE \
  --url https://api.servetel.in/v1/broadcast/list/id \
  --header 'accept: application/json' \
  --header 'authorization: Bearer yourtokenhere'

Path Parameters

Variable NameDescriptionData type
id*Unique ID of the List to be deletedString

Response Variables

Variable NameDescriptionData type
successRequest success statusBoolean
messageMessage corresponding success statusString