/v1/ivrs

Detailed list of all IVRs

Interactive Voice Response (IVR) is an automated telephony system that interacts with callers, gathers information and routes calls to the appropriate recipients.

Servetel offers an IVRS ( IVR System ) that accepts touch-tone keypad input and provides the appropriate response by routing the call to the desired location of the input as assigned by the user.

Below are the details of the IVRS APIs offered.

Get List of all IVRs

Detailed List of all broadcasts can be retrieved using the below method

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

Response variables

Variable NameDescriptionData Type
ivrsArray of objects containing list of all IVRsArray
recordingsArray of objects containing list of all recordingsArray
  • ivrs array
Variable NameDescriptionData Type
ivrs[n].idUnique ID of the IVRInteger
ivrs[n].nameName for the IVRString
ivrs[n].descriptionDescription for the IVRString
ivrs[n].timeoutTime for which the IVR will ringInteger
ivrs[n].invalid_retriesThe number of times an invalid DTMF input is allowedInteger
ivrs[n].invalid_retry_recordingRecording to be played when an invalid DTMF input is pressedString
ivrs[n].invalid_destination_typeType of destination where call lands If number of invalid retries reaches more than the value set.String
ivrs[n].invalid_destinationUnique ID of destination where call lands If number of invalid retries reaches more than the value set.String
ivrs[n].timeout_retry_recordingUnique ID of the recording to be played when timeout entry is addedString
ivrs[n].timeout_recordingUnique ID of the recording to be played after timeout retry count is more than set valueString
ivrs[n].timeout_dest_typeType of the destination where call is routed If number of timeout retries reaches more than the value setString
ivrs[n].timeout_destinationUnique ID of the destination where call is routed If number of timeout retries reaches more than the value setString
ivrs[n].timeout_retriesThe number of times timeout retry is allowedInteger
ivrs[n].invalid_recordingUnique ID of the recording to be played after invalid retry count is more than set valueInteger
ivrs[n].added_byUnique ID of the userInteger
  • recordings array
Variable NameDescriptionData Type
recordings[n].idUnique ID of the recordingInteger
recordings[n].typeType of recordingString
recordings[n].custom_nameUser provided name of recordingString
{
    "ivrs": [
      {
        "id": 1,
        "name": "Test IVR Name",
        "description": "Test IVR Description",
        "timeout": 30,
        "invalid_retries": 1,
        "invalid_retry_recording": "1",
        "invalid_destination_type": "extension",
        "invalid_destination": "0500000000",
        "timeout_retry_recording": "1",
        "timeout_recording": "1",
        "timeout_dest_type": "extension",
        "timeout_destination": "0500000000",
        "timeout_retries": 1,
        "added_by": 1,
        "invalid_recording": 1
      }
    ],
    "recordings": [
      {
        "id": 45,
        "type": "Recording",
        "custom_name": "Recording custom name"
      }
    ]
}
Language
Click Try It! to start a request and see the response here!