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 Name | Description | Data Type |
---|---|---|
id | Unique ID of the broadcast list | Integer |
name | Name of the broadcast | String |
description | Description Related to broadcast | String |
count_id | Count of leads associated with the list | Integer |
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 Name | Description | Data-Type |
---|---|---|
name* | Name of the List | String |
description* | Description for the Broadcast List | String |
field | Array of custom fields to be associated with Leads inside a list | array[String] |
Response variables
Variable Name | Description | Data type |
---|---|---|
success | Request success status | Boolean |
list_id | Unique ID of the list created | Integer |
message | Message corresponding success status | String |
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 Name | Description | Data type |
---|---|---|
id* | Unique ID of the Broadcast List that needs to updated | String |
List of request Variables
Variable Name | Description | Data Type |
---|---|---|
name* | Name for the List | String |
description* | Description for the broadcast List | String |
Response variables
Variable Name | Description | Data type |
---|---|---|
success | Request success status | Boolean |
message | Message corresponding success status | String |
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 Name | Description | Data type |
---|---|---|
id* | Unique ID of the List to be deleted | String |
Response Variables
Variable Name | Description | Data type |
---|---|---|
success | Request success status | Boolean |
message | Message corresponding success status | String |
Updated 4 months ago