phone-volumeElevenlabs

Connect your ElevenLabs Conversational AI agents to KrosAI phone numbers for emerging market coverage.

Overview

ElevenLabs offers state-of-the-art voice synthesis and conversational AI. With KrosAI, you can route calls from African and Middle Eastern phone numbers to ElevenLabs agents.

Prerequisites

  • KrosAI account with verified KYC

  • ElevenLabs account with Conversational AI enabled

  • An ElevenLabs agent created

  • At least one KrosAI phone number

Setup Steps

1

Get Your ElevenLabs Agent ID

2

Connect ElevenLabs in KrosAI

  • Go to Settings → Integrations in your KrosAI Dashboard

  • Click Connect next to ElevenLabs

  • Enter your ElevenLabs API Key (must have "Agents Read" permission)

  • Click Save & Test

3

Create an ElevenLabs Endpoint

Create ElevenLabs endpoint (curl)
curl -X POST "https://api.krosai.com/v1/endpoints" \
  -H "x-api-key: kros_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "ElevenLabs Support Agent",
    "type": "agent",
    "url": "sip:[email protected]",
    "provider_config": {
      "provider": "elevenlabs",
      "agent_id": "your-elevenlabs-agent-id"
    }
  }'
4

Attach to Phone Number

Attach endpoint to phone number (curl)
curl -X PATCH "https://api.krosai.com/v1/phone-numbers/pn_abc123" \
  -H "x-api-key: kros_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint_id": "ep_elevenlabs_xyz"
  }'

Configuration Options

Provider Config Fields

Field
Required
Description

agent_id

Yes

Your ElevenLabs agent ID

ElevenLabs Agent Setup

1

Agent Settings → Phone

Go to Agent SettingsPhone

2

Note Assigned Phone Number Format

Note the assigned phone number format for reference

3

SIP Routing

KrosAI handles the SIP routing automatically

Outbound Calls

Voice Quality

Feature
Details

Latency

< 500ms end-to-end

Sample Rate

16kHz - 48kHz

Codec

Opus (preferred)

Voice Cloning

Supported

Webhooks

Receive call events:

Troubleshooting

chevron-rightCall Not Connectinghashtag
  • Verify your ElevenLabs API key has "Agents Read" permission

  • Check the agent ID is correct

  • Ensure the agent is active in ElevenLabs

  • Review call events in KrosAI Dashboard

chevron-rightVoice Not Playinghashtag
  • Check your agent's voice configuration

  • Verify the voice model is available

  • Test the agent directly in ElevenLabs

chevron-rightHigh Latencyhashtag
  • Check network conditions

  • Verify server location settings

  • Consider using Opus codec

Last updated