Fetch Lists of Broadcast

This API allows you to fetch list of broadcasts.

This API helps you access the entire list of existing broadcasts and their corresponding data. From the fetched broadcast list, you get privy to the number of calls made using a particular campaign, the time the call tries to connect to each number in the list, the agents acting for the broadcast, and more.

Sample Request

curl --request GET \
     --url https://api-smartflo.tatateleservices.com/v2/broadcasts \
     --header 'accept: application/json'

šŸ“˜ Important!

Before we begin, note that the * sign denotes the mandatory variables in each table.

Request Variables (Query Params)

The following parameter is required to fetch lists of broadcasts:

Variable NameDescriptionData Type
limitnumber of records to be fetched. Min: 1 max: 100.String
broadcast_idUnique ID of the Broadcast.String
pagepage number of which broadcasts need to be fetched.String

Sample Response

{
  "page": 1,
  "size": 10,
  "limit": 10,
  "broadcast_limit": 100,
  "results": [
     {
      "id": "93585",
      "name": "Aayurvaid broadcast",
      "description": "Aayurvaid broadcast",
      "destination_type": "auto_attendant",
      "destination_id": "56210",
      "list_id": "263902",
      "list_name": "Test disposition Dec",
      "timeout": 120,
      "concurrent_limit": 3,
      "caller_id": "+918069651170",
      "time_group_id": null,
      "time_group_name": null,
      "start_date_time": 1703848800,
      "end_date_time": 1703849100,
      "retry": 0,
      "retry_after": null,
      "sms_notification": null,
      "status": 0,
      "start_count": 3,
      "created_at": 1703848625,
      "dialstatus": [
        "New",
        "Message Played",
        "DTMF Pressed",
        "No Answer",
        "DND",
        "Busy",
        "Congestion",
        "Failed",
        "Account DND"
      ]
    },

Response Variables

The response returned is as following:

Variable NameDescriptionData Type
limitnumber of records to be fetched. Min: 1 max: 100.Integer
sizenumber of records fetched.Integer
pagepage number of which broadcasts need to be fetched.Integer
broadcast_limitmax number of broadcast concurrent limits allowed for the account.Integer
Result[].idThe unique ID of the broadcast. For example, 9.String
Result[].nameThe name of the broadcast. For example, Campaign 1.String
Result[].descriptionThe description of the broadcast. For example, Campaign 1 description.String
Result[].destination_typeType of destination where the broadcast is directed to. For example, ivr, hangup, etc.String
Result[].destination_idUnique ID of the destination.String
Result[].list_idThe unique ID of the list associated with the broadcast. For example, 70006.String
Result[].list_nameThe name of the lists in the broadcast. For example, Campaign list.String
Result[].timeoutThe time the call tries to connect to each number in the list. For example, Minimum: 10, Maximum: 60.Integer
Result[].concurrent_limitThe number of channels to be used for broadcast. For example,15.Integer
Result[].caller_idCaller ID that is showed to the called party.String
Result[].time_group_idUnique ID of the time_group associated with the broadcast.String
Result[].time_group_nameName of the time group associated with the broadcast.String
Result[].start_date_timeDate and time in which leads associated with broadcast are called.String
Result[].end_date_timeDate and time till which leads associated with broadcast are called.String
Result[].retrySpecifies Retry count to dial on the dial status other than new.
Result[].retry_afterTime Duration after which the retry will take place.
Result[].sms_notification.typeWhether SMS is to be triggered for missed, answered or both.
Result[].sms_notification.missed_call_template_idTemplate ID of the missed call template.
Result[].sms_notification.missed_call_template_nameTemplate Name of the missed call template.
Result[].sms_notification.recieved_call_template_idTemplate ID of the received call template.
Result[].sms_notification.recieved_call_template_nameTemplate Name of the received call template.
Result[].sms_notification.retryIf retry is required for SMS.
Result[].statusThe current status of the broadcast. For example, The possible values are 0: Inactive, 1: Active, 2: Paused.Integer
Result[].start_countNumber of times that broadcast has been started.
Result[].created_atCreated Time Stamp of the broadcast.
Result[].dialstatusDial Status to dial the call on selected in the campaign.
Language
Click Try It! to start a request and see the response here!