Integrations

ElevenLabs

Put your ElevenLabs Conversational AI agent on a TryVox number. It answers calls, and it can call out.

Use a TryVox number with your ElevenLabs Conversational AI agent. Callers reach the agent, and the agent can call customers from that number.

How the call flows

Inbound:   Caller ──▶ TryVox number ──▶ TryVox ──▶ your ElevenLabs agent

Outbound:  Your app ── TryVox API (or ElevenLabs) ──▶ ElevenLabs agent ──▶ TryVox ──▶ customer

Before you start

  • An active TryVox number, and approved KYC.
  • An ElevenLabs Conversational AI agent.
  • An ElevenLabs API key that can access Conversational AI: ElevenLabs → your profile → API Keys.

Connect

  1. TryVox dashboard → AI Agents → Connect provider → ElevenLabs. Paste the API key, then Connect.
  2. Open the integration → Connect number. Pick your TryVox number and agent, then Connect.

TryVox adds the number to your ElevenLabs Phone Numbers, shown as TryVox +91…, and assigns your agent to it.

Test inbound

Call your TryVox number. Your ElevenLabs agent answers.

Test outbound

From your app, through TryVox.

curl -X POST https://api.tryvox.io/v1/ai/integrations/$INTEGRATION_ID/calls \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN \
  -H "Content-Type: application/json" \
  -d '{ "to": "+919812345678", "dynamic_variables": { "customer_name": "Rahul" } }'

The variables arrive as ElevenLabs dynamic variables ({{customer_name}} in the agent's prompt). More in Start an AI Outbound Call.

From ElevenLabs. Start an outbound call from the TryVox +91… phone number in ElevenLabs. It goes out through TryVox.

Working example: set it up over the API

curl -X POST https://api.tryvox.io/v1/ai/integrations \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN -H "Content-Type: application/json" \
  -d '{ "provider": "elevenlabs", "name": "Support agent", "api_key": "<elevenlabs-api-key>" }'

curl https://api.tryvox.io/v1/ai/integrations/$INTEGRATION_ID/agents \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN

curl -X POST https://api.tryvox.io/v1/ai/integrations/$INTEGRATION_ID/bindings \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN -H "Content-Type: application/json" \
  -d '{ "tryvox_e164": "+918045671234", "provider_agent_id": "<agent-id>" }'

Hand the call to a person

Moving a live ElevenLabs call to a person through TryVox needs the TryVox call UUID inside your agent. That is pending live verification: see AI to Human Transfer. Don't use ElevenLabs' built-in transfer_to_number for this: it dials through ElevenLabs, not your TryVox number.

Common problems

ProblemFix
Key invalid, or an empty agent listThe key needs Conversational AI access. Create a new key with it.
Connect number fails with a 409 from ElevenLabsThe number already exists in your ElevenLabs Phone Numbers from an earlier setup. Delete it there, then connect again.
Calls stop working after you edit ElevenLabsDon't delete the TryVox +91… number in ElevenLabs. Disconnect it in TryVox instead.

On this page