Skip to Content
Cloud One
  • Products

    Business Communication Suite & Phone System


      By Edition

      ​Cloud

      Software

      Appliance

    By Deployment

    ​On-premise

    Hosted by Cloud One

    Self-hosted

    By Management

    ​Managed By Cloud One

    Semi-Managed by Cloud One

    Self-Managed


    Simu Connect UC Clients


    Simu Connect Web Client Simu Connect Mobile Client Simu Connect Desktop ClientSimu Connect Chrome ExtensionSimu Connect TAPI Integration

    SIP Trunks


    Business SIPPay As You Go SIP Country Presence SIPVirtual Phone NumbersGolden Phone NumbersToll Free NumbersBring Your Own Carrier (BYOC)Calling RatesTalktime Top-up

    Get a Proof of Concept Now!


    Simu Connect POC Application Managed Business Communication Suite Self Managed Business Communication SuiteSIP Trunk POCOdoo Phone POC
  • Solutions

    Business Needs


    Work from Anywhere Hosted UCaaS Self hosted UCaaSVideo ConferencingAppliance PBXAI-powered Cloud PBXWhite-label Solution

    Industry


    Call Center Healthcare HospitalityFinanceEducationLogisticsRetail BusinessGovernment Agency

    Ecosystem


    IP Phones SIP Trunks IntegrationHeadsetsVirtual Phone Numbers

    By Integration


    Odoo Phone System Zoho Phone System Salesforce Phone SystemMicrosoft Dynamics Phone SystemZendesk Phone SystemFreshdesk Phone SystemBitrix24 Phone SystemHubSpot Phone System
  • Resources

    Downloads

    Download user guides and more documents

    Book a Meeting

    Schedule a meeting at your convenience

    Developer Guide

    Read API Documentation for Cloud One BCS API

    Business Communication Suite

    Experience our user-friendly business communication suite today. Explore robust telephony features that enhance your client connections efficiently.  

    See More Details
  • Devices

    Yealink IP Phones


    Yealink T3 Series IP Phones Yealink T4 Series IP Phones Yealink T5 Series IP PhonesYealink T7 Series IP PhonesYealink T8 Series IP Phones Yealink DECT IP Phones

    Voice Conferencing Solutions


    VC Room Systems BYOD Solutions Video Phone Video Conferencing Accessories

    Microsoft Solutions


    MS Teams Rooms Systems Microsoft Phones Conference Phones HeadsetsYealink MeetingBoardYealink MeetingBoard Pro

    Zoom Rooms


    Zoom Rooms Systems Zoom Phones Zoom Cameras BYOD Solutions
  • Help

    Ticketing System


    Submit a Helpdesk TicketReport an Issue

    Training


    User TrainingOperator TrainingCall Center Agent TrainingSupervisor Training

    Frequently Asked Questions


    General FAQBCS FAQSIP Trunks FAQLocal Phone Numbers FAQ

    Contact Us


    WhatsApp Icon


  • Support Helpdesk Contact
  • +254 20 790 0100
  • support@cloudone.co

  • Accounts Helpdesk Contact
  • +254 20 790 0000
  • finance@cloudone.co
  • Visit our Office


    Cloud One Ltd

    Saachi Plaza - Unit A3, Argwings Kodhek Road, Nairobi, Kenya
    P.O.Box 76484-00508 Yaya Centre

    +254 20 790 0000

    hello@cloudone.co


    Kindly do not email multiple contacts as it creates multiple tickets on our CRM


  • Contact Us
  • Blog
    ​​
  • Sign in
  • 0
  • 0
  • Deploy in hours Certified Experts Zero Setup / License Fees*
  • Follow us
    Click here to setup your social networks
    Click here to setup your social networks
Cloud One
  • 0
  • 0
    • Products
    • Solutions
    • Resources
    • Devices
    • Help
    • Contact Us
    • Blog
  • Deploy in hours Certified Experts Zero Setup / License Fees*
  • Follow us
    Click here to setup your social networks
    Click here to setup your social networks
  • Sign in
  • ​​

Query Information of Multiple IVRs

Query the detailed information of multiple IVRs at the same time.

Request URL

GET {base_url}/{api_path}/ivr/query?access_token={access_token}

Request parameters

ParameterRequiredTypeDescription
idsYesStringThe unique ID of the IVR(s).Note:
  • You can query IVR's ID using Search Specific IVRs.
  • Use a comma to separate multiple IDs.

Response parameters

ParameterTypeDescription
errcodeIntegerReturned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsgStringReturned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.
dataObject <IVR_DetailInfo>Detailed information of each IVR.

IVR_DetailInfo

ParameterTypeDescription
idIntegerThe unique ID of the IVR.
numberStringIVR number.
nameStringIVR name.
promptStringThe name of the IVR prompt.
prompt_repeatIntegerThe maximum number of times the IVR prompt will be repeated.
resp_timeoutIntegerThe timeout duration for callers to input keys after playing the IVR prompt (Unit: Second).
Note: If no input is received after the timeout, the system will repeat the IVR prompt until the maximum number of times is reached. If there is still no input after the timeout, the call will be forwarded to the Timeout Destination.
digit_timeoutIntegerThe timeout duration between the caller inputting a key and the next key (Unit: Second).
dial_ext_optionStringWhether to allow callers to dial extensions via IVR.
  • disable: Prohibit callers from dialing any extensions.
  • all: Allow callers to dial all extensions.
  • allow: Allow callers to dial specified extensions.
  • restrict: Prohibit callers from dialing specified extensions.
enb_dial_outb_routesIntegerWhether to allow callers to use outbound routes to make outbound calls from the IVR.
  • 0: Disallow.
  • 1: Allow.
enb_dial_check_vmIntegerWhether to allow callers to check voicemail via IVR.
  • 0: Disallow.
  • 1: Allow.
pressX_destStringThe destination type of key X.
Note: X refers to a specific number between 0 and 9.
  • end_call: Hang Up.
  • extension: Extension.
  • ext_vm: Extension Voicemail.
  • ivr: IVR.
  • call_flow: Call Flow
  • ai_receptionist: AI Receptionist.
  • ring_group: Ring Group.
  • queue: Queue.
  • group_vm: Group Voicemail.
  • conference: Conference.
  • dial_by_name: Dial by Name.
  • external_num: External Number.
  • play_greeting: Play Prompt and Exit.
  • play_prompt: Play Prompt and Return to IVR.
pressX_dest_prefixString

This parameter returns different values depending on the destination type of key X (pressX_dest).

Note: X refers to a specific number between 0 and 9.
  • When the destination type is external_num, the parameter returns the dial-out prefix of the external number.
  • When the destination type is play_greeting or play_prompt, the parameter returns the play count of the prompt.
pressX_dest_valueStringThe destination of key X. This parameter returns different values depending on the destination type of key X (pressX_dest).
Note: X refers to a specific number between 0 and 9.
  • When the destination type is play_greeting or play_prompt, this parameter returns the custom prompt file name. E.g. demo.wav.
  • When the destination type is extension, ext_vm, ivr, call_flow, ring_group, queue, group_vm, or conference, this parameter returns the unique ID of the destination.

    For example, the destination is the extension 2002, then this parameter returns the extension ID 2.

  • When the destination type is external_num, the parameter returns the external number.
allow_out_recordXIntegerAfter a call has been routed to the destination of key X, stop recording the call.
Note: X refers to a specific number between 0 and 9.
  • 0: Disabled.
  • 1: Enabled.
press_hash_destStringThe destination type of key #.
  • end_call: Hang Up.
  • extension: Extension.
  • ext_vm: Extension Voicemail.
  • ivr: IVR.
  • call_flow: Call Flow
  • ai_receptionist: AI Receptionist.
  • ring_group: Ring Group.
  • queue: Queue.
  • group_vm: Group Voicemail.
  • conference: Conference.
  • dial_by_name: Dial by Name.
  • external_num: External Number.
  • play_greeting: Play Prompt and Exit.
  • play_prompt: Play Prompt and Return to IVR.
press_hash_dest_prefixStringThis parameter returns different values depending on the destination type of key #.
  • When the destination type is external_num, the parameter returns the dial-out prefix of the external number.
  • When the destination type is play_greeting or play_prompt, the parameter returns the play count of the prompt.
press_hash_dest_valueStringThe destination of key #. This parameter returns different values depending on the destination type of key #.
  • When the destination type is play_greeting or play_prompt, this parameter returns the custom prompt file name. E.g. demo.wav.
  • When the destination type is extension, ext_vm, ivr, call_flow, ring_group, queue, group_vm, or conference, this parameter returns the unique ID of the destination.

    For example, the destination is the extension 2002, then this parameter returns the extension ID 2.

  • When the destination type is external_num, the parameter returns the external number.
allow_out_record_hashIntegerAfter a call has been routed to the destination of key #, stop recording the call.
  • 0: Disabled.
  • 1: Enabled.
press_star_destStringThe destination type of key *.
  • end_call: Hang Up.
  • extension: Extension.
  • ext_vm: Extension Voicemail.
  • ivr: IVR.
  • call_flow: Call Flow
  • ai_receptionist: AI Receptionist.
  • ring_group: Ring Group.
  • queue: Queue.
  • group_vm: Group Voicemail.
  • conference: Conference.
  • dial_by_name: Dial by Name.
  • external_num: External Number.
  • play_greeting: Play Prompt and Exit.
  • play_prompt: Play Prompt and Return to IVR.
press_star_dest_prefixStringThis parameter returns different values depending on the destination type of key *.
  • When the destination type is external_num, the parameter returns the dial-out prefix of the external number.
  • When the destination type is play_greeting or play_prompt, the parameter returns the play count of the prompt.
press_star_dest_valueStringThe destination of key *. This parameter returns different values depending on the destination type of key *.
  • When the destination type is play_greeting or play_prompt, this parameter returns the custom prompt file name. E.g. demo.wav.
  • When the destination type is extension, ext_vm, ivr, call_flow, ring_group, queue, group_vm, or conference, this parameter returns the unique ID of the destination.

    For example, the destination is the extension 2002, then this parameter returns the extension ID 2.

  • When the destination type is external_num, the parameter returns the external number.
allow_out_record_starIntegerAfter a call has been routed to the destination of key *, stop recording the call.
  • 0: Disabled.
  • 1: Enabled.
timeout_destStringThe destination type of Response Timeout.Note:Response Timeout occurs when the system has played the prompt repeatedly for the maximum number of times, but the caller has not taken any action within the specified time.
  • end_call: Hang Up.
  • extension: Extension.
  • ext_vm: Extension Voicemail.
  • ivr: IVR.
  • call_flow: Call Flow
  • ai_receptionist: AI Receptionist.
  • ring_group: Ring Group.
  • queue: Queue.
  • group_vm: Group Voicemail.
  • conference: Conference.
  • dial_by_name: Dial by Name.
  • external_num: External Number.
  • play_greeting: Play Prompt and Exit.
  • play_prompt: Play Prompt and Return to IVR.
timeout_dest_prefixStringThis parameter returns different values depending on the destination type of Response Timeout.
  • When the destination type is external_num, the parameter returns the dial-out prefix of the external number.
  • When the destination type is play_greeting or play_prompt, the parameter returns the play count of the prompt.
timeout_dest_valueStringThe destination of Response Timeout. This parameter returns different values depending on the destination type of Response Timeout.
  • When the destination type is play_greeting or play_prompt, this parameter returns the custom prompt file name. E.g. demo.wav.
  • When the destination type is extension, ext_vm, ivr, call_flow, ring_group, queue, group_vm, or conference, this parameter returns the unique ID of the destination.

    For example, the destination is the extension 2002, then this parameter returns the extension ID 2.

  • When the destination type is external_num, the parameter returns the external number.
allow_out_record_timeoutIntegerAfter a call has been routed to the destination of Response Timeout, stop recording the call.
  • 0: Disabled.
  • 1: Enabled.
invalid_destStringThe destination type of invalid input.
  • end_call: Hang Up.
  • extension: Extension.
  • ext_vm: Extension Voicemail.
  • ivr: IVR.
  • call_flow: Call Flow
  • ai_receptionist: AI Receptionist.
  • ring_group: Ring Group.
  • queue: Queue.
  • group_vm: Group Voicemail.
  • conference: Conference.
  • dial_by_name: Dial by Name.
  • external_num: External Number.
  • play_greeting: Play Prompt and Exit.
  • play_prompt: Play Prompt and Return to IVR.
invalid_dest_prefixStringThis parameter returns different values depending on the destination type of invalid input.
  • When the destination type is external_num, the parameter returns the dial-out prefix of the external number.
  • When the destination type is play_greeting or play_prompt, the parameter returns the play count of the prompt.
invalid_dest_valueStringThe destination of invalid input. This parameter returns different values depending on the destination type of invalid input.
  • When the destination type is play_greeting or play_prompt, this parameter returns the custom prompt file name. E.g. demo.wav.
  • When the destination type is extension, ext_vm, ivr, call_flow, ring_group, queue, group_vm, or conference, this parameter returns the unique ID of the destination.

    For example, the destination is the extension 2002, then this parameter returns the extension ID 2.

  • When the destination type is external_num, the parameter returns the external number.
allow_out_record_invalidIntegerAfter a call has been routed to the destination of invalid input, stop recording the call.
  • 0: Disabled.
  • 1: Enabled.
dial_ext_listArray <Allow_Ext_List>Extensions or extension groups that callers are allowed to call via the IVR.
restrict_dial_ext_listArray <Restrict_Ext_List>Extensions or extension groups that callers are prohibited from calling via the IVR.
enb_dial_call_numberIntegerWhether callers are allowed to directly dial ring group, queue, and conference room numbers via the IVR.
  • 0: Disallow.
  • 1: Allow.
dial_call_number_listArray <Allow_Call_Number_List>The ring group, queue, and conference room numbers that callers are allowed to call via the IVR.
dial_outb_route_listArray <Allow_Route_List>The outbound route that callers are allowed to use via the IVR.
alert_infoStringThe "Alert-info" Header in the INVITE request to trigger the IP phone to play distinctive ringtones when receiving an incoming call from this IVR.
prompt_manger_enbIntegerWhether to allow users to dial the feature code #9 to modify the IVR prompt.
  • 0: Disallow.
  • 1: Allow.
prompt_manger_passwordStringThe password for modifying IVR prompts.
client_unique_ringtoneStringThe distinctive ringtone that will be played on extension users' Simu Connect clients when they receive calls from this IVR.

Allow_Ext_List

ParameterTypeDescription
textStringThe name of the extension / extension group / organization that callers are allowed to call.
text2StringThe number of the extension, or the name of extension group / organization that callers are allowed to call.
valueStringThe ID of the extension / extension group / organization that callers are allowed to call.
typeStringThe type of the object that callers are allowed to call.
  • extension
  • ext_group
  • organization

Restrict_Ext_List

ParameterTypeDescription
textStringThe name of the extension / extension group / organization that callers are prohibited from calling.
text2StringThe number of the extension, or the name of extension group / organization that callers are prohibited from calling.
valueStringThe ID of the extension / extension group / organization that callers are prohibited from calling.
typeStringThe type of the object that callers are prohibited from calling.
  • extension
  • ext_group
  • organization

Allow_Call_Number_List

ParameterTypeDescription
textStringThe name of the ring group / queue / conference that callers are allowed to call via the IVR.
text2StringThe number of the ring group / queue / conference that callers are allowed to call via the IVR.
valueStringThe ID of the ring group / queue / conference that callers are allowed to call via the IVR.
typeStringThe type of the object that callers are allowed to call via the IVR.
  • ring_group
  • queue
  • conference

Allow_Route_List

ParameterTypeDescription
textStringThe name of the outbound route that callers are allowed to use.
valueStringThe ID of the outbound route that callers are allowed to use.

Examples

Request example

Query the detailed information of 2 IVRs (ID: 1 & 4) at the same time.

GET /openapi/v1.0/ivr/query?access_token=XKvESnkcM3tZMjP7ZdmhUsnAvZ7vdzD6&ids=1,4 HTTP/1.1
Host: 192.168.5.150:8088

Response example

HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS",
"data": [
{
"id": 1,
"number": "6200",
"name": "6200",
"prompt": "welcome.wav,keypress.wav,default",
"prompt_repeat": 3,
"resp_timeout": 3,
"digit_timeout": 10,
"dial_ext_option": "disable",
"enb_dial_outb_routes": 0,
"enb_dial_check_vm": 0,
"press0_dest": "",
"press0_dest_prefix": "",
"press0_dest_value": "",
"allow_out_record0": 0,
"press1_dest": "",
"press1_dest_prefix": "",
"press1_dest_value": "",
"allow_out_record1": 0,
"press2_dest": "",
"press2_dest_prefix": "",
"press2_dest_value": "",
"allow_out_record2": 0,
"press3_dest": "",
"press3_dest_prefix": "",
"press3_dest_value": "",
"allow_out_record3": 0,
"press4_dest": "",
"press4_dest_prefix": "",
"press4_dest_value": "",
"allow_out_record4": 0,
"press5_dest": "",
"press5_dest_prefix": "",
"press5_dest_value": "",
"allow_out_record5": 0,
"press6_dest": "",
"press6_dest_prefix": "",
"press6_dest_value": "",
"allow_out_record6": 0,
"press7_dest": "",
"press7_dest_prefix": "",
"press7_dest_value": "",
"allow_out_record7": 0,
"press8_dest": "",
"press8_dest_prefix": "",
"press8_dest_value": "",
"allow_out_record8": 0,
"press9_dest": "",
"press9_dest_prefix": "",
"press9_dest_value": "",
"allow_out_record9": 0,
"press_hash_dest": "",
"press_hash_dest_prefix": "",
"press_hash_dest_value": "",
"allow_out_record_hash": 0,
"press_star_dest": "",
"press_star_dest_prefix": "",
"press_star_dest_value": "",
"allow_out_record_star": 0,
"timeout_dest": "",
"timeout_dest_prefix": "",
"timeout_dest_value": "",
"allow_out_record_timeout": 0,
"invalid_dest": "play_prompt",
"invalid_dest_prefix": "1",
"invalid_dest_value": "welcome.wav",
"allow_out_record_invalid": 0,
"alert_info": "",
"prompt_manger_enb": 0,
"prompt_manger_password": "****",
"enb_dial_call_number": 1,
"dial_call_number_list": [
{
"text": "6500",
"text2": "6500",
"value": "1",
"type": "conference"
},
{
"text": "ringback-tone-test-RG",
"text2": "6300",
"value": "1",
"type": "ring_group"
},
{
"text": "Support",
"text2": "6401",
"value": "1",
"type": "queue"
}
],
"client_unique_ringtone": "Ring8.mp3"
},
{
"id": 4,
"number": "6201",
"name": "6201",
"prompt": "welcome.wav,keypress.wav",
"prompt_repeat": 1,
"resp_timeout": 3,
"digit_timeout": 3,
"dial_ext_option": "disable",
"enb_dial_outb_routes": 0,
"enb_dial_check_vm": 0,
"press0_dest": "",
"press0_dest_prefix": "",
"press0_dest_value": "",
"allow_out_record0": 0,
"press1_dest": "",
"press1_dest_prefix": "",
"press1_dest_value": "",
"allow_out_record1": 0,
"press2_dest": "",
"press2_dest_prefix": "",
"press2_dest_value": "",
"allow_out_record2": 0,
"press3_dest": "",
"press3_dest_prefix": "",
"press3_dest_value": "",
"allow_out_record3": 0,
"press4_dest": "",
"press4_dest_prefix": "",
"press4_dest_value": "",
"allow_out_record4": 0,
"press5_dest": "",
"press5_dest_prefix": "",
"press5_dest_value": "",
"allow_out_record5": 0,
"press6_dest": "",
"press6_dest_prefix": "",
"press6_dest_value": "",
"allow_out_record6": 0,
"press7_dest": "",
"press7_dest_prefix": "",
"press7_dest_value": "",
"allow_out_record7": 0,
"press8_dest": "",
"press8_dest_prefix": "",
"press8_dest_value": "",
"allow_out_record8": 0,
"press9_dest": "",
"press9_dest_prefix": "",
"press9_dest_value": "",
"allow_out_record9": 0,
"press_hash_dest": "",
"press_hash_dest_prefix": "",
"press_hash_dest_value": "",
"allow_out_record_hash": 0,
"press_star_dest": "",
"press_star_dest_prefix": "",
"press_star_dest_value": "",
"allow_out_record_star": 0,
"timeout_dest": "ext_vm",
"timeout_dest_prefix": "",
"timeout_dest_value": "23",
"allow_out_record_timeout": 0,
"invalid_dest": "end_call",
"invalid_dest_prefix": "",
"invalid_dest_value": "",
"allow_out_record_invalid": 0,
"alert_info": "",
"prompt_manger_enb": 0,
"prompt_manger_password": "****",
"enb_dial_call_number": 1,
"dial_call_number_list": [
{
"text": "ringback-tone-test-RG",
"text2": "6300",
"value": "1",
"type": "ring_group"
}
],
"client_unique_ringtone": "example-1.wav"
}
]
}
Useful Links
  • Home
  • About us
  • Products
  • Services
  • Shipping
  • Return Policy
  • Warranty
  • Contact us
Legal
  • Terms
  • Privacy
  • Shared Responsibility
    Service Level Agreement
  • Certifications
About us

Cloud One Limited is a leading Kenyan local telephony service provider. Established in 2017, we offer reliable and secure cloud and on premise business communication solutions, including SIP trunks, Yealink IP phones, and VPS hosting in our Tier 3 data center.


Our mission is to revolutionize cloud communications by providing unparalleled reliability, cutting-edge innovation, and substantial cost savings. We deliver a stress-free, always-available service experience that empowers businesses to thrive in the digital age.

DUNS Registration Number: 561230946
Company Registration Number: PVT-5JUEYMA
Licensed & Regulated by the Communications Authority of Kenya


Follow us
Connect with us
  • Contact us
  • hello@cloudone.co
  • +254 20 7900000
  • Saachi Plaza, UNIT A3 - Argwings Kodhek Rd
Download Simu Connect

    Get the app on the playstore

    Download desktop app for Windows​

    Download app from the appstore

    Download MacOS app