MCube Setup
This guide walks you through connecting your MCube account to Vocobase for outbound calling. MCube is a popular telephony provider in India with support for local and toll-free numbers.Prerequisites
- An MCube account with API access enabled
- Your MCube JWT authentication token
- Your MCube executive number
- An approved Vocobase partner account with an API key
Step 1: Get your MCube credentials
Get your JWT token
MCube uses JWT tokens for API authentication. You can find your token in the MCube dashboard under API Settings, or request it from MCube support.
Step 2: Configure MCube in Vocobase
Send your MCube credentials to the Vocobase config API:Step 3: Make a test call
Start an outbound call using themcube provider:
If you omit the
provider field in the call request, MCube is used by default.Troubleshooting
”MCube not configured” error
You will receive a400 error if you try to make a call with "provider": "mcube" before configuring credentials. Run PUT /config/telephony/mcube with valid credentials.
”Invalid MCube credentials” error
- Verify your JWT token has not expired — MCube tokens may have an expiration date
- Confirm the executive number is correctly formatted (4-15 digits, optional
+prefix) - Contact MCube support to verify your API access is active
Calls not connecting
- Ensure the destination number is reachable from your MCube account
- Check that your MCube account has sufficient balance
- Verify that API-initiated calls are enabled on your MCube plan
JWT token expired
MCube JWT tokens may have an expiration date. If calls start failing after a period of time, generate a new JWT token from MCube and update your configuration:Updating credentials
To update your MCube credentials, callPUT /config/telephony/mcube again with the new values. Both fields (jwt_token, exe_number) are required each time.
Next steps
Twilio Setup
Configure Twilio as an alternative telephony provider.
Quick Start
Create an agent and make your first call.