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 Inbound Routes

Query the detailed information of multiple inbound routes at the same time.

Request URL

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

Request parameters

ParameterRequiredTypeDescription
idsYesStringThe unique ID(s) of the inbound route(s).
Note:
  • You can query the inbound route's ID using Search Specific Inbound Routes.
  • 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.
dataArray<Inroute_Details>The detailed information of the inbound route.

Inroute_Details

ParameterTypeDescription
idIntegerThe unique ID of the inbound route.
nameStringThe name of the inbound route.
alert_infoStringInbound alert info.
did_optionStringDID matching mode.
  • patterns: Match DID patterns.
  • pattern_to_ext: Match DID pattern to extensions.
  • range_to_ext: Match DID Range to Extension range.
did_pattern_listArray<DID_Pattern_List>The DID matching pattern list when the did_option is patterns.
did_pattern_to_extStringThe DID matching pattern to extensions when the did_option is pattern_to_ext.
did_to_ext_startStringThe start number of the DID matching pattern range when the did_option is range_to_ext.
did_to_ext_endStringThe end number of the DID matching pattern range when the did_option is range_to_ext.
did_pattern_to_ext_listArray <DID_Ext_List>The list of DID numbers and the corresponding extensions when the did_option is pattern_to_ext_list.
cid_optionStringCaller ID matching pattern.
  • patterns: Match Caller ID patterns.
  • phonebook: Match contacts' caller ID in specific phonebooks
cid_pattern_listArray<CID_Pattern_List>The Caller ID matching pattern list when the cid_option is patterns.
cid_to_phonebookArray<Integer>The ID of the selected phonebook when the cid_option is phonebook.
trunk_listArray<Trunk_List>The list of the selected trunk in the inbound route.
def_destStringDefault destination.
  • disabled
  • end_call: Hang up
  • extension: Extension
  • pattern_to_ext: Match DID pattern to extensions
  • range_to_ext: Match DID range to extension range
  • pattern_to_ext_list: Match DID number(s) to extension(s) in one-to-one correspondence.
  • 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
  • external_num: External number
  • outroute: Outbound route
  • play_greeting: Play greeting then hang up
  • fax_to_email: Fax to email
def_dest_prefixStringThis parameter returns different information depending on the def_dest.
  • When def_dest is external_num, this parameter displays the prefix of the external number.
  • When def_dest is play_greeting, this parameter displays the playback count of the greeting.
def_dest_valueStringThis parameter returns different results depending on the def_dest.
  • When def_dest is external_num, this parameter displays the external number.
  • When def_dest is play_greeting, this parameter displays the prompt name.
  • When def_dest is range_to_ext, this parameter displays the extension range.
  • When def_dest is other destinations, this parameter displays the unique ID of the destination.

    For example, the destination is the extension 2002, then this field will return the ID of the extension 2002.

def_dest_ext_listArray<Ext_List>The selected extensions/extension groups when the def_dest is pattern_to_ext.
ringback_toneStringThe filename of custom prompt played for the caller before the extension user answers the call when the def_dest is extension.

DID_Pattern_List

ParameterTypeDescription
idIntegerThe unique ID of the DID pattern.
did_patternStringThe DID matching rules.

DID_Ext_List

ParameterTypeDescription
idIntegerThe unique ID of the DID number matching rule.
did_patternStringThe DID number.
did_pattern_to_extStringThe ID of the extension that corresponds to the DID number.

CID_Pattern_List

ParameterTypeDescription
idIntegerThe unique ID of the Caller ID pattern.
cid_patternStringThe Caller ID matching rules.

Trunk_List

ParameterTypeDescription
idIntegerThe unique ID of the selected trunk.
nameStringTrunk name.
typeStringTrunk type.

Ext_List

ParameterTypeDescription
valueStringThe unique ID of the extension/extension group.
nameStringThe name of the extension/extension group.
numberStringExtension number.
typeStringThe type of the selected item.
  • extension
  • ext_group

Examples

Request example

GET /openapi/v1.0/inbound_route/query?ids=29,30&access_token=gYFPycZxVlJSmvMqylho3qBNz6QNWqHE HTTP/1.1
Host: 192.168.5.150:8088

Response example

HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS",
"data": [
{
"id": 29,
"name": "test4",
"did_option": "patterns",
"did_pattern_list": [
{
"id": 45,
"did_pattern": "5503301"
}
],
"cid_option": "patterns",
"trunk_list": [
{
"id": 27,
"name": "test-peer-trunking",
"type": "peer"
}
],
"def_dest": "play_greeting",
"def_dest_prefix": "2",
"def_dest_value": "bruno-mars.wav",
"ringback_tone": ""
},
{
"id": 30,
"name": "test5",
"did_option": "range_to_ext",
"did_to_ext_start": "5503301",
"did_to_ext_end": "5503310",
"cid_option": "phonebook",
"cid_to_phonebook": "[10]",
"trunk_list": [
{
"id": 28,
"name": "6700-account-trunking",
"type": "account"
}
],
"def_dest": "range_to_ext",
"def_dest_value": "2001-2010",
"ringback_tone": ""
}
]
}
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