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 Message Channels

Query the detailed information of multiple message channels, including SMS channel, WhatsApp channel, and Facebook channel.

Request URL

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

Request parameters

ParameterRequiredTypeDescription
idsYesStringThe unique ID(s) of the message channel(s).
Note:
  • You can query message channel ID using Search Specific Message Channels.
  • Use commas 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.
listArray<Msg_Channel>The detailed information of the message channels.

Msg_Channel

ParameterTypeDescription
idIntegerThe unique ID of the message channel.
nameStringName of the message channel.
domain_typeStringThe type of domain used in the Webhook URL.
  • fqdn
  • nat
webhook_gidStringGlobal identifier of the Webhook.
webhook_urlStringThe Webhook URL used for messaging webhook.
typeStringType of the message channel.
  • sms
  • whatsapp
  • facebook
channelStringThe service provider of the message channel.
  • general
  • alhambra
  • apidaze
  • aspsms
  • athena
  • bandwidth
  • flowroute
  • ixica
  • netplanet
  • siptrunk
  • skyetel
  • telnyx
  • twilio
  • vetta
  • voicemeup
  • voipms
  • voxtelesys
  • whatsapp
  • facebook
account_dataArray<Auth_Info>The data required by the service provider for message channel connection.
verify_tokenStringThe token used for webhook verification.
phone_number_idStringPhone number ID.
Note: This parameter only returns value when querying a WhatsApp channel.
business_account_idStringWhatsApp Business Account ID.
Note: This parameter only returns value when querying a WhatsApp channel.
send_rateIntegerMessage sending rate, which indicates the number of messages that PBX can send per second via the message channel.
auto_close_sessionIntegerWhether messaging sessions will be automatically closed after being inactive for a specified period of time.
  • 0: Disabled.
  • 1: Enabled.
session_expired_timeIntegerThe duration of inactivity (in days) after which a session is automatically closed.
enb_duplicate_active_sessionIntegerWhether the creation of duplicate active sessions (same sender and receiver) are allowed.
Note: This parameter only returns when querying an SMS channel or a WhatsApp channel.
  • 0: Not allowed.
  • 1: Allowed. A new session can be created even if another active session exists with the same sender and receiver; the original session is then removed from the previous handler's session list and taken over by the new creator, retaining the complete chat history.
didsArray<Msg_Routing>The details of message routing rule for the message channel.
accompanying_msgStringAccompanying text content for chat file.
Note: This parameter only returns value when querying an Apidaze SMS channel.

Auth_Info

ParameterTypeDescription
kStringThe name of the key field required by the service provider.
vStringThe value corresponding to the key field.

Msg_Routing

ParameterTypeDescription
idIntegerThe unique ID of the DID number.
omnichannel_idIntegerThe unique ID of the message channel that is associated with the DID number.
did_numberStringThe DID number associated with the message channel.
destination_idStringThe ID of destination to which inbound messages are sent.
destination_numberStringThe number of the destination.
destination_nameStringThe name of the destination.
membersArray<Members>The members that are allowed to initiate a message session using the DID number.
destination_typeStringThe type of the destination.
  • extension: Extension user.
  • queue: Message queue.
  • api: Third-party message analytics platform (Transmitted via API).

Members

ParameterTypeDescription
textStringThe name of the member.
text2StringThe information of the member, depending on the member type.
  • For extension: Extension number is returned.
  • For extension group: Extension group name is returned.
  • For organization: An empty string is returned.
valueStringThe unique ID of the member.
typeStringMember type.
  • extension
  • ext_group
  • organization

Examples

Request example

Query the information of two message channels (ID: 3 & 206).

GET /openapi/v1.0/message_channel/query?access_token=gE3xGWAULl1wn6fiWSjOnf2Dcn3lnkKP&ids=3,206 HTTP/1.1
Host: 192.168.5.150:8088

Response example

HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS",
"list": [
{
"id": 3,
"name": "WhatsApp Channel",
"webhook_gid": "90c8a2b5b3434471bd73e7c802952f96",
"type": "whatsapp",
"channel": "whatsapp",
"account_data": [
{
"k": "access_token",
"v": "EAAXmEG1QQccBO9wpYSY3r1ZApPu4mmEUvOszfHil3mYLn8xnIlOtirhNoZAybL3TKFHxhgFzdOO9ZBk2XVRPnAHNZCCRmrKZClsM4VCqBPqJWRIt3yaZAjYJZC79UO2pTYaJbtSlIhvHEmSdXXgzmGpsfMFCHEh4N3bY7rsarAf214VP2JFbwNihmXQZAmeSFwZDZD"
},
{
"k": "app_secret",
"v": "41665cf6ef8971b3e1778432ffc2f077"
}
],
"auto_close_session": 1,
"session_expired_time": 1,
"dids": [
{
"did_number": "+15550193510",
"destination_id": "5",
"destination_number": "",
"members": [
{
"text": "Default_All_Extensions",
"text2": "Default_All_Extensions",
"value": "1",
"type": "ext_group"
}
],
"destination_type": "api"
}
],
"webhook_url": "https://docs.example.cloudone.co/api/v1.0/webhook/whatsapp/90c8a2b5b3434471bd73e7c802952f96",
"send_rate": 80,
"phone_number_id": "11577555571069",
"verify_token": "braxzqj5z8md6e29",
"domain_type": "fqdn",
"accompanying_msg": "",
"business_account_id": "10615155550235",
"enb_duplicate_active_session": 1
},
{
"id": 206,
"name": "Apidaze SMS Channel",
"webhook_gid": "858ba05206654893aa3ecd1a6eeb6e91",
"type": "sms",
"channel": "apidaze",
"account_data": [
{
"k": "api_key",
"v": "AKIAIOSFODNN7EXAMPLE"
},
{
"k": "api_secret",
"v": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
}
],
"auto_close_session": 0,
"session_expired_time": 0,
"dids": [
{
"id": 214,
"omnichannel_id": 206,
"did_number": "+13599900000",
"destination_id": "136",
"destination_number": "1001",
"destination_name": "1001",
"members": [
{
"text": "Sales",
"value": "2",
"type": "organization"
},
{
"text": "Pre-Sales",
"value": "3",
"type": "organization"
}
],
"destination_type": "extension"
}
],
"webhook_url": "https://docs.example.cloudone.co/api/v1.0/webhook/apidaze/858ba05206654893aa3ecd1a6eeb6e91",
"send_rate": 1,
"phone_number_id": "",
"verify_token": "",
"domain_type": "nat",
"accompanying_msg": "Sent by Cloud One",
"business_account_id": "",
"enb_duplicate_active_session": 1
}
]
}
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