Retrieve IVR

This API allows you to fetch details of all IVR.

Sample Request

Use the method described below to obtain a detailed list of all IVRs:

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

📘 Important!

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

Sample Response

{
  "ivrs": [
    {
      "id": 7926,
      "name": "Welcome IVR",
      "description": "Welcome IVR",
      "recording": "19549",
      "timeout": 30,
      "invalid_retries": 1,
      "invalid_retry_recording": "244",
      "invalid_destination_type": "extension",
      "invalid_destination": "050109590001",
      "timeout_retry_recording": "245",
      "timeout_recording": "245",
      "timeout_dest_type": "extension",
      "timeout_destination": "050109590001",
      "timeout_retries": 1,
      "added_by": 10959,
      "invalid_recording": 244,
      "ivr_menu": [
        {
          "option": "1",
          "destination_type": "ringgroup",
          "destination_id": "17839",
          "sms_template_id": "0",
          "webhook_id": "0"
        }
      ]
    },......
  ] 
} 

Response Variables

Variable NameDescriptionData Type
ivrs[n]List of IVRs.Array
ivrs[n].idUnique ID of the IVR. For example, 3111.String
ivrs[n].nameName of the IVR. For example, Election promotion IVR.String
ivrs[n].descriptionID of the IVR recording. For example, 8336.String
ivrs[n].timeoutTime for which the IVR will ring. For example, 30.Number
ivrs[n].invalid_retriesNumber of invalid retries allowed. For example, 1.Number
ivrs[n].invalid_retry_recordingThe unique ID of the recording that will be played during the invalid retry. For example, 8141.String
ivrs[n].invalid_destination_typeDestination where the call will land in case of invalid option being selected. For example, extension.String
ivrs[n].invalid_destinationUnique ID of the destination where the call will land in case of invalid option being selected. For example, 05047530000.String
ivrs[n].timeout_retry_recordingThe unique ID of the recording that will be played during the timeout retry. For example, 8185.String
ivrs[n].timeout_recordingUnique ID of recording to be played after Timeout Retry count is more than set value. For example, 8185.String
ivrs[n].timeout_dest_typeDestination where the call will land in case of timeout. For example, extension.String
ivrs[n].timeout_destinationUnique ID of the destination where the call will land in case of timeout. For example, 05047530000.String
ivrs[n].timeout_retriesNumber of retries allowed. For example, 1.Number
ivrs[n].added_byUser's unique id. For example, 4753.Number
ivrs[n].invalid_recordingUnique ID of recording to be played when an invalid entry is pressed. For example, 8183.Number
ivrs[n].ivr_menu[n]Details of IVR menu.Array
ivrs[n].ivr_menu[n].optionDTMF option. For example, 1.String
ivrs[n].ivr_menu[n].destination_typeDestination where the call will land after pressing the IVR menu option. For example, extension.String
ivrs[n].ivr_menu[n].destination_idUnique ID of destination where the call will land after pressing the IVR menu option. For example, 6992.String
ivrs[n].ivr_menu[n].sms_template_idUnique ID of the SMS template in IVR menu. For example, 0.String
ivrs[n].ivr_menu[n].webhook_idUnique ID of the Webhook in IVR menu. For example, 0.String
Language
Click Try It! to start a request and see the response here!