Quick Start
Get up and running with the Vocobase V2 API. By the end of this guide, you will have created a voice agent and initiated your first outbound call.Prerequisites
- A Vocobase account (get set up)
- Your API key (format:
rg_live_xxxx) - At least one telephony provider configured and allowed for your account
1
Get your API key
Log in to the Vocobase Dashboard and navigate to API Keys. Create a new key and copy it immediately — it is only shown once.Your key looks like this:
2
Test your connection
Verify your API key works by fetching your account configuration:You should receive a response with your account configuration:
3
Create an agent
Create your first voice agent. The The response includes your new agent’s ID:Allowed codes:
voice_id is the catalog id returned by GET /agent/voices — fetch it first and pick a row that matches the tier, language, and gender you want. Use GET /agent/voice-tiers to list supported tiers, then filter the catalog with GET /agent/voices?tier=va-1.Agent languages
By default an agent speaks the language of the voice you picked. To let it understand and reply in more than one language, passspoken_languages on
create or update:en, hinglish, hi, mr, te, ta, kn, ml, gu,
pa, bn. Two rules apply:- At most two languages, and at most one Indian language
(
hi,mr,te,ta,kn,ml,gu,pa,bn). hinglishonly pairs withenorhi— it already contains Hindi, so pairing it with another Indian language would break rule 1 indirectly.
An invalid combination returns
400 with a VALIDATION_ERROR. Omit the
field to leave it unchanged on update, or send [] to clear it back to the
voice’s own language.4
Make your first call
Initiate an outbound call using the agent you just created. Replace the The
agent_id with the ID from the previous step. If your account has multiple active connections for the selected provider, include connection_id from GET /api/v2/telephony/connections.from_number is resolved from the selected provider connection and returned in the response. The call is placed asynchronously. Set up webhooks to receive live call status updates plus the final transcript and recording URL.Next steps
Authentication
Learn about API key formats, rate limits, and error handling.
Configure Webhooks
Receive live call status updates and final session results.
Twilio Setup
Configure Twilio for outbound calling.
API Reference
Explore the full API reference.