Skip to main content
This guide shows how to integrate ElevenLabs with Vobiz programmatically to enable outbound calling and automate voice calls with ultra-realistic AI voices.
Prefer watching a walkthrough or using the dashboard? See the ElevenLabs integration overview for the video tutorial, or the dashboard setup guide for a visual step-by-step walkthrough.
Perfect for:
  • Application integration
  • Bulk calling campaigns
  • Automation workflows
  • Custom call triggers

Prerequisites

  • Vobiz account with SIP trunk → Create account
  • ElevenLabs account with API key → Sign up
  • ElevenLabs API keyGet API key
  • Phone number from Vobiz (for caller ID)

Part 1: Vobiz setup

Create a SIP trunk
Create a SIP trunk in Vobiz to handle voice traffic. See: Vobiz SIP trunks documentation Save these values from the response:
  • sip_domain (for example, abc123def.sip.vobiz.ai)
  • username
  • password
You’ll need them for ElevenLabs configuration.
Get a phone number
Purchase a phone number for outbound caller ID. See: Vobiz phone numbers documentation

Part 2: ElevenLabs setup

Step 1: Get your API key
Via dashboard:
  • Go to ElevenLabs Developer → API Keys
  • Click Create API Key
  • Name your key (for example, “Vobiz Integration”)
  • Set permissions:
    • ElevenLabs Agents: Write (Required)
    • Voices: Read (Required)
    • User: Read (Optional)
  • Click Create and copy the key
Save this key securely - you’ll use it in all API requests.
Step 2: List available voices
What to extract:
  • voice_id - use this when creating your agent
  • name - voice name for identification
  • category - voice type (premade, cloned, etc.)
Copy a voice_id - you’ll need it in Step 3.
Step 3: Create an agent
Replace:
  • voice_id_here → your chosen voice ID from Step 2
Save the agent_id - you’ll need it to make calls.

Part 3: Connect Vobiz to ElevenLabs

Step 1: Import your phone number
Register your Vobiz phone number with ElevenLabs for outbound calling.
Replace:
  • +911234567890 → your Vobiz phone number
  • abc123def.sip.vobiz.ai → your Vobiz SIP domain
  • your_username → your Vobiz username
  • your_password → your Vobiz password
Save the phone_number_id - you’ll need it in Step 2. Get Vobiz credentials:
Step 2: Make an outbound call
Replace:
  • agent_your_agent_id_here → your agent ID from Part 2, Step 3
  • phnum_your_phone_number_id_here → your phone number ID from Step 1
  • +919988776655 → destination number to call
Call initiated. What happens next:
  • The phone rings at the destination
  • When answered, the agent speaks
  • The conversation begins with a natural voice

Verification

List your agents
Check call logs
View your call history in ElevenLabs DashboardCall History. Test call flow:
  1. Run Step 2 to initiate a call.
  2. Wait for the destination phone to ring.
  3. Answer the call.
  4. The AI agent will greet and speak.
  5. Check the call transcript in the ElevenLabs Dashboard.

Troubleshooting

”Unauthorized” / 401 error
Problem: ElevenLabs API key is invalid or expired. Fix:
  • Verify you copied the entire key (starts with sk_).
  • Check the API key has ElevenLabs Agents: Write permission.
  • Generate a new key at ElevenLabs Developer.
”Not Found” / 404 error
Problem: Agent ID or phone number ID doesn’t exist. Fix:
  • List your agents to verify the agent ID is correct.
  • Check the phone number is configured in ElevenLabs Dashboard.
  • Ensure you’re using the correct ID format.
SIP 408 request timeout
Problem: The Vobiz trunk cannot reach ElevenLabs SIP servers. Fix:
”Insufficient balance”
Problem: Vobiz account has no credits. Fix:
Call connects but silent
Problem: Agent configuration issue or voice not set. Fix:
  • Verify the agent has first_message configured.
  • Check the agent has a valid voice_id in conversation_config.
  • Test the voice in the ElevenLabs dashboard first.
  • View call logs in ElevenLabs Dashboard.
Call doesn’t connect
Problem: Wrong phone number format or trunk configuration. Fix:
  • Use E.164 format: +919988776655 (with + and country code).
  • Verify the Vobiz trunk is active.
  • Check Vobiz CDR logs for call attempts at Vobiz Console.
  • Ensure the phone number is not blocked.

Quick reference

Required credentials
API endpoints
Base URL: https://api.elevenlabs.io - all requests require xi-api-key: YOUR_ELEVENLABS_API_KEY
Common errors

Complete example

Here’s a complete working example with real values:

Resources