Conversational Agents API

Build production voice agents across phone, chat, and WhatsApp

Build production voice agents across phone, chat, and WhatsApp

Build production voice agents across phone, chat, and WhatsApp

The Conversational AI API and SDK for AI phone agents, customer service voice, and outbound AI voice agents. ElevenAgents runs the full loop - turn-taking, interruption handling, tool calls, realtime voice - on your own LLM and stack.

10K free credits per month

Full access to all APIs

SOC 2 Type 2 and ISO 27001

Voices that sound natural and emotionally rich, backed by an API that’s solid and dependable. Made it possible to scale new languages and markets with confidence.

Voices that sound natural and emotionally rich, backed by an API that’s solid and dependable. Made it possible to scale new languages and markets with confidence.

Cankut Kostur

Sr. Engineer, Codeway

from elevenlabs import ElevenLabs
client = ElevenLabs(api_key="sk_...")
agent = client.conversational_ai.agents.create(
    name="Support agent",
    conversation_config={
        "agent": {"prompt": {"prompt": "You are a friendly support agent."}},
        "tts": {"voice_id": "JBFqnCBsd6RMkjVDRZzb"},
    },
)  # then connect over WebSocket for live audio
$ curl -X POST https://api.elevenlabs.io/v1/convai/agents/create \
  -H "xi-api-key: $ELEVENLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Support agent",
    "conversation_config": {
      "agent": {"prompt": {"prompt": "You are a friendly support agent."}},
      "tts": {"voice_id": "JBFqnCBsd6RMkjVDRZzb"}
    }
}'
import { ElevenLabsClient } from "elevenlabs";
const client = new ElevenLabsClient({
  apiKey: process.env.ELEVENLABS_API_KEY,
});
const agent = await client.conversationalAi.agents.create({
  name: "Support agent",
  conversationConfig: {
    agent: { prompt: { prompt: "You are a friendly support agent." } },
    tts: { voiceId: "JBFqnCBsd6RMkjVDRZzb" },
  },
});
import { ElevenLabsClient } from "elevenlabs";
const client = new ElevenLabsClient({ apiKey: process.env.ELEVENLABS_API_KEY! });
const agent = await client.conversationalAi.agents.create({
  name: "Support agent",
  conversationConfig: {
    agent: { prompt: { prompt: "You are a friendly support agent." } },
    tts: { voiceId: "JBFqnCBsd6RMkjVDRZzb" },
  },
}); // connect over WebSocket for the live conversation loop
from elevenlabs import ElevenLabs
client = ElevenLabs(api_key="sk_...")
agent = client.conversational_ai.agents.create(
    name="Support agent",
    conversation_config={
        "agent": {"prompt": {"prompt": "You are a friendly support agent."}},
        "tts": {"voice_id": "JBFqnCBsd6RMkjVDRZzb"},
    },
)  # then connect over WebSocket for live audio
$ curl -X POST https://api.elevenlabs.io/v1/convai/agents/create \
  -H "xi-api-key: $ELEVENLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Support agent",
    "conversation_config": {
      "agent": {"prompt": {"prompt": "You are a friendly support agent."}},
      "tts": {"voice_id": "JBFqnCBsd6RMkjVDRZzb"}
    }
}'
import { ElevenLabsClient } from "elevenlabs";
const client = new ElevenLabsClient({
  apiKey: process.env.ELEVENLABS_API_KEY,
});
const agent = await client.conversationalAi.agents.create({
  name: "Support agent",
  conversationConfig: {
    agent: { prompt: { prompt: "You are a friendly support agent." } },
    tts: { voiceId: "JBFqnCBsd6RMkjVDRZzb" },
  },
});
import { ElevenLabsClient } from "elevenlabs";
const client = new ElevenLabsClient({ apiKey: process.env.ELEVENLABS_API_KEY! });
const agent = await client.conversationalAi.agents.create({
  name: "Support agent",
  conversationConfig: {
    agent: { prompt: { prompt: "You are a friendly support agent." } },
    tts: { voiceId: "JBFqnCBsd6RMkjVDRZzb" },
  },
}); // connect over WebSocket for the live conversation loop
from elevenlabs import ElevenLabs
client = ElevenLabs(api_key="sk_...")
agent = client.conversational_ai.agents.create(
    name="Support agent",
    conversation_config={
        "agent": {"prompt": {"prompt": "You are a friendly support agent."}},
        "tts": {"voice_id": "JBFqnCBsd6RMkjVDRZzb"},
    },
)  # then connect over WebSocket for live audio
$ curl -X POST https://api.elevenlabs.io/v1/convai/agents/create \
  -H "xi-api-key: $ELEVENLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Support agent",
    "conversation_config": {
      "agent": {"prompt": {"prompt": "You are a friendly support agent."}},
      "tts": {"voice_id": "JBFqnCBsd6RMkjVDRZzb"}
    }
}'
import { ElevenLabsClient } from "elevenlabs";
const client = new ElevenLabsClient({
  apiKey: process.env.ELEVENLABS_API_KEY,
});
const agent = await client.conversationalAi.agents.create({
  name: "Support agent",
  conversationConfig: {
    agent: { prompt: { prompt: "You are a friendly support agent." } },
    tts: { voiceId: "JBFqnCBsd6RMkjVDRZzb" },
  },
});
import { ElevenLabsClient } from "elevenlabs";
const client = new ElevenLabsClient({ apiKey: process.env.ELEVENLABS_API_KEY! });
const agent = await client.conversationalAi.agents.create({
  name: "Support agent",
  conversationConfig: {
    agent: { prompt: { prompt: "You are a friendly support agent." } },
    tts: { voiceId: "JBFqnCBsd6RMkjVDRZzb" },
  },
}); // connect over WebSocket for the live conversation loop

Voices that sound natural and emotionally rich, backed by an API that’s solid and dependable. Made it possible to scale new languages and markets with confidence.

Cankut Kostur

Sr. Engineer, Codeway

Trusted by engineers at the world’s leading brands

Trusted by engineers at the world’s leading brands

Get 10,000 free credits

Get 10,000 free credits

Get 10,000 free credits

Whether you’re prototyping your first voice agent or scaling AI across your organization.

Whether you’re prototyping your first voice agent or scaling AI across your organization.

Get 10K free credits

Sign up for free and get 10,000 credits instantly. No credit card required.

Get 10K free credits

Sign up for free and get 10,000 credits instantly. No credit card required.

Get 10K free credits

Sign up for free and get 10,000 credits instantly. No credit card required.

Grab your API key

Easily generate an API key from your dashboard. Free tier included.

Grab your API key

Easily generate an API key from your dashboard. Free tier included.

Grab your API key

Easily generate an API key from your dashboard. Free tier included.

Start building

One request returns streamed audio. Wire it into your app and you're live.

Start building

One request returns streamed audio. Wire it into your app and you're live.

Start building

One request returns streamed audio. Wire it into your app and you're live.

Your full audio stack behind a single key

Your full audio stack behind a single key

Your full audio stack behind a single key

Get your free API key

Agents API

Build production-ready voice agents with natural turn-taking, interruption handling, and conflict de-escalation.

Agents API

Build production-ready voice agents with natural turn-taking, interruption handling, and conflict de-escalation.

Agents API

Build production-ready voice agents with natural turn-taking, interruption handling, and conflict de-escalation.

Text to Speech API

Generate lifelike speech in 70+ languages. Tune for emotional depth with v3 or ~75ms inference with Flash v2.5.

Text to Speech API

Generate lifelike speech in 70+ languages. Tune for emotional depth with v3 or ~75ms inference with Flash v2.5.

Text to Speech API

Generate lifelike speech in 70+ languages. Tune for emotional depth with v3 or ~75ms inference with Flash v2.5.

Voice Changer API

Transform audio from any voice into a target voice while preserving timing, intonation, and emotional delivery.

Voice Changer API

Transform audio from any voice into a target voice while preserving timing, intonation, and emotional delivery.

Voice Changer API

Transform audio from any voice into a target voice while preserving timing, intonation, and emotional delivery.

Music API

Generate studio-quality tracks in any genre or style from a text prompt. Royalty-free, ready for commercial use.

Music API

Generate studio-quality tracks in any genre or style from a text prompt. Royalty-free, ready for commercial use.

Music API

Generate studio-quality tracks in any genre or style from a text prompt. Royalty-free, ready for commercial use.

Sound Effects API

Generate sound effects and ambient audio from a text prompt. Every request returns four royalty-free options.

Sound Effects API

Generate sound effects and ambient audio from a text prompt. Every request returns four royalty-free options.

Sound Effects API

Generate sound effects and ambient audio from a text prompt. Every request returns four royalty-free options.

Voice Design API

Describe a voice in plain language and generate a brand-new, ownable voice in seconds. Use it across every ElevenAPI surface.

Voice Design API

Describe a voice in plain language and generate a brand-new, ownable voice in seconds. Use it across every ElevenAPI surface.

Voice Design API

Describe a voice in plain language and generate a brand-new, ownable voice in seconds. Use it across every ElevenAPI surface.

Speech to Text API

Transcribe audio with perfect accuracy in 90+ languages. Word-level timestamps and speaker diarization included.

Speech to Text API

Transcribe audio with perfect accuracy in 90+ languages. Word-level timestamps and speaker diarization included.

Speech to Text API

Transcribe audio with perfect accuracy in 90+ languages. Word-level timestamps and speaker diarization included.

Voice Cloning API

Create an instant voice clone from less than a minute of audio. Use it across all ElevenLabs products and APIs.

Voice Cloning API

Create an instant voice clone from less than a minute of audio. Use it across all ElevenLabs products and APIs.

Voice Cloning API

Create an instant voice clone from less than a minute of audio. Use it across all ElevenLabs products and APIs.

Dubbing API

Translate and re-voice video content across 90+ languages. Speaker identity, timing, and tone are preserved.

Dubbing API

Translate and re-voice video content across 90+ languages. Speaker identity, timing, and tone are preserved.

Dubbing API

Translate and re-voice video content across 90+ languages. Speaker identity, timing, and tone are preserved.

Speech Engine API

Add a human-like voice layer to your chat agent in minutes. Your LLM, RAG, and architecture remain untouched.

Speech Engine API

Add a human-like voice layer to your chat agent in minutes. Your LLM, RAG, and architecture remain untouched.

Speech Engine API

Add a human-like voice layer to your chat agent in minutes. Your LLM, RAG, and architecture remain untouched.

The API Fortune 500 companies ship on

The API Fortune 500 companies ship on

The API Fortune 500 companies ship on

SSO and SCIM

SAML/OIDC, role-based access, audit logs

Custom SLAs

Reserved throughput, priority routing, support engineers on call

Data controls

Zero-retention, DPA, regional processing, no training on your data

Consent and safety tooling

Voice verification and provenance built into the cloning APIs

Pay as you go API pricing

Pay as you go API pricing

Pay as you go API pricing

The same rates regardless of your plan or volume. No hidden fees, no overages.

The same rates regardless of your plan or volume. No hidden fees, no overages.

Text to SpeechTurbo / Flash
$0.05per 1,000 characters
Text to SpeechTurbo / Flash
$0.05per 1,000 characters
Text to SpeechTurbo / Flash
$0.05per 1,000 characters
Text to SpeechMultilingual v2 / v3
$0.10per 1,000 characters
Text to SpeechMultilingual v2 / v3
$0.10per 1,000 characters
Text to SpeechMultilingual v2 / v3
$0.10per 1,000 characters
Speech to TextScribe v1 / v2
$0.22per hour
Speech to TextScribe v1 / v2
$0.22per hour
Speech to TextScribe v1 / v2
$0.22per hour
AgentsAudio minutes
$0.05per minute
AgentsAudio minutes
$0.05per minute
AgentsAudio minutes
$0.05per minute
Music generationAPI
$0.15per minute
Music generationAPI
$0.15per minute
Music generationAPI
$0.15per minute
Voice changerAPI
$0.12per minute
Voice changerAPI
$0.12per minute
Voice changerAPI
$0.12per minute

Leading AI phone agents, built for production

Leading AI phone agents, built for production

Leading AI phone agents, built for production

Complete voice agent platform

ASR, TTS, and orchestration behind one API

Conversational AI voice API for realtime agents

Bidirectional conversational audio with sub-second turn-taking

Voice agent API and SDKs

Use your preferred language, including Python and TypeScript

Voice cloning for your AI agent

Give your agent a branded or custom voice

We are the first in the world to offer AI functions directly over the network. We are removing barriers. No apps, no special devices, no technical complexity.

We are the first in the world to offer AI functions directly over the network. We are removing barriers. No apps, no special devices, no technical complexity.

We are the first in the world to offer AI functions directly over the network. We are removing barriers. No apps, no special devices, no technical complexity.

Abdu Mudesir

Product & Technology, Deutsche Telekom / T-Mobile

Made by engineers for engineers

Made by engineers for engineers

Made by engineers for engineers

  • ElevenLabs solves the problem of robotic, unnatural AI voiceovers. The API integration is smooth, which makes it easy to implement in applications and automation systems.

    Rexus

    Verified G2 review

  • ElevenLabs solves the problem of robotic, unnatural AI voiceovers. The API integration is smooth, which makes it easy to implement in applications and automation systems.

    Rexus

    Verified G2 review

  • The quality is consistent even with longer text, and the API is easy to integrate. Voice customization, stability, and low latency make it a reliable tool for production use, not just demos.

    Wojciech K.

    Verified G2 review

  • The quality is consistent even with longer text, and the API is easy to integrate. Voice customization, stability, and low latency make it a reliable tool for production use, not just demos.

    Wojciech K.

    Verified G2 review

  • I like that the interface is very straightforward and the API is also easy to develop against. It's a sophisticated and varied service that only reveals the tools you want when you need them.

    Adam B.

    Verified G2 review

  • I like that the interface is very straightforward and the API is also easy to develop against. It's a sophisticated and varied service that only reveals the tools you want when you need them.

    Adam B.

    Verified G2 review

  • Another new thing I like is the enhanced API flexibility, which allows developers to integrate ElevenLabs into a wider range of applications — from podcasts and audiobooks to real-time conversational agents — without losing quality or responsiveness.

    Sonu K.

    Verified G2 review

  • Another new thing I like is the enhanced API flexibility, which allows developers to integrate ElevenLabs into a wider range of applications — from podcasts and audiobooks to real-time conversational agents — without losing quality or responsiveness.

    Sonu K.

    Verified G2 review

  • The initial setup was very simple, and I use the API extensively in my projects, including English learning apps and story apps since I am an Android and iOS developer.

    Anand B.

    Verified G2 review

  • The initial setup was very simple, and I use the API extensively in my projects, including English learning apps and story apps since I am an Android and iOS developer.

    Anand B.

    Verified G2 review

  • The API's ability to automate speech-to-text conversions for large batches in multiple languages, including Chinese and Korean, directly enhances our workflow.

    Vedaswaroop I.

    Verified G2 review

  • The API's ability to automate speech-to-text conversions for large batches in multiple languages, including Chinese and Korean, directly enhances our workflow.

    Vedaswaroop I.

    Verified G2 review

  • Initial setup of ElevenLabs is impressively straightforward, allowing for quick access to API integrations and generating voiceovers efficiently.

    Mohdhafiz L.

    Verified G2 review

  • I enjoy how seamlessly ElevenLabs integrates into various workflows through its web interface, API, and app integrations, making it a versatile solution for both casual and professional use.

    Chinonso N.

    Verified G2 review

  • The voices sound incredibly realistic, and there are plenty of options to choose from. I appreciate being able to create a voice from text, and the API responses are impressively fast.

    Erick C.

    Verified G2 review

  • The entire setup process of ElevenLabs was very simple and quick, including finding the API key, which has significantly facilitated my workflow.

    Lucello H.

    Verified G2 review

  • I really like how natural and human-like the voices sound. The Text-to-Speech API is easy to integrate with Python, and the response time is very fast. It works perfectly with my AI assistant project.

    Agha E.

    Verified G2 review

  • The text-to-speech capability is truly magical, significantly enhancing my experience when reading scholarly articles and using the API as an answering assistant for my phone.

    Ajibola L.

    Verified G2 review

  • The initial setup was very easy. From creating the account to making the first successful API request only took about 20 minutes.

    Scott H.

    Verified G2 review

  • Documentation is excellent, making setup straightforward. Having just to grab an API key simplifies the process significantly. The cost-effectiveness is a huge plus as well.

    Livan C.

    Verified G2 review

  • As a software engineer working at an AI startup, my experience with ElevenLabs has been overwhelmingly positive. The dashboard is intuitive, and their API documentation is clear and beginner-friendly.

    Esha D.

    Verified G2 review

  • I like how easy the integration and overall ease of use are. I value the voice cloning API and usage dashboard a lot. It's particularly impressive how easy it is to add emotions and clone voices.

    Jaydeep R.

    Verified G2 review

  • It’s been essential in automating voice responses in our app, allowing us to convert AI-generated text into voice and deliver it at scale with zero friction. The API is fast, reliable, and plays nicely with other tools, which has been a massive productivity boost.

    Lee H.

    Verified G2 review

  • I use ElevenLabs to power my AI storytelling app and the quality of the voices truly brings the experience to life. Integration was fast thanks to the simple API. Users frequently comment on how "human" the narration feels, which is exactly what I wanted.

    Kevin E.

    Verified G2 review

Answers to common questions

Answers to common questions

Answers to common questions

How do I build an AI phone agent?+

Create an agent, point it at your LLM, choose a voice, and connect over WebSocket for realtime audio. Inbound and outbound calling are supported.

Can I use it for outbound calls and customer service?+

Yes - the same agent powers inbound customer service voice and outbound AI voice agents, with turn-taking and interruption handling tuned for live conversation. Also available for use on WhatsApp.

Is it fast enough for real-time, conversational applications?+

Flash v2.5 delivers ~75ms model inference time, making it well-suited for low-latency voice applications. For real-time transcription, Scribe v2 Realtime transcribes in under 150ms. For use cases where expressiveness or language breadth matters more than speed, Eleven v3 and Multilingual v2 are available.

What are the security and compliance certifications?+

ElevenLabs holds SOC 2 Type 2, ISO 27001, ISO 27018, HIPAA (attestation), GDPR (audit), and PCI DSS Level 1 certifications, among others. Data is encrypted in transit and at rest. For stricter data requirements, regional data residency and Zero Retention Mode are available.

How many languages and voices are available?+

Eleven v3 supports 70+ languages. Flash v2.5 - optimized for low latency - supports 32 languages. Dubbing v2 supports 90+ languages. You can choose from 10,000+ pre-built voices in the Voice Library or create your own.

Can my agent use a cloned or custom voice?+

Yes - pair the agent with the voice cloning API to give it a branded or custom voice, served programmatically.

Is there a free ElevenLabs API?+

ElevenLabs offers a free plan to explore the API. Paid plans scale by usage, with options for individual developers, growing teams, and enterprise. Enterprise includes custom rate limits, SLAs, and dedicated support.

Is this just a TTS API, or can I build a full voice product?+

It's a full platform. ElevenAgents handles the full conversational loop - turn detection, interruption handling, tool calls, and real-time voice - without requiring you to stitch together separate ASR, TTS, and orchestration providers. You can configure, deploy, and monitor agents from a single platform.

Will the voices actually sound natural, or robotic?+

Voice quality is the reason most developers evaluate ElevenLabs in the first place. The models produce AI voices that sound virtually indistinguishable from human recordings - with accurate prosody, natural pacing, and emotional range across accents and languages. The best way to verify this for your use case is to run audio through the API directly; no sales call required.

What ElevenLabs API documentation is available when I hit a problem?+

Our docs cover the full API surface - SDKs, streaming, webhooks, ElevenAgents configuration, and Scribe. There is an active developer community on Discord for peer support and feedback. Paid plans include email support, and enterprise plans include dedicated support with defined SLAs.

How do I build an AI phone agent?+

Create an agent, point it at your LLM, choose a voice, and connect over WebSocket for realtime audio. Inbound and outbound calling are supported.

Can I use it for outbound calls and customer service?+

Yes - the same agent powers inbound customer service voice and outbound AI voice agents, with turn-taking and interruption handling tuned for live conversation. Also available for use on WhatsApp.

Is it fast enough for real-time, conversational applications?+

Flash v2.5 delivers ~75ms model inference time, making it well-suited for low-latency voice applications. For real-time transcription, Scribe v2 Realtime transcribes in under 150ms. For use cases where expressiveness or language breadth matters more than speed, Eleven v3 and Multilingual v2 are available.

What are the security and compliance certifications?+

ElevenLabs holds SOC 2 Type 2, ISO 27001, ISO 27018, HIPAA (attestation), GDPR (audit), and PCI DSS Level 1 certifications, among others. Data is encrypted in transit and at rest. For stricter data requirements, regional data residency and Zero Retention Mode are available.

How many languages and voices are available?+

Eleven v3 supports 70+ languages. Flash v2.5 - optimized for low latency - supports 32 languages. Dubbing v2 supports 90+ languages. You can choose from 10,000+ pre-built voices in the Voice Library or create your own.

Can my agent use a cloned or custom voice?+

Yes - pair the agent with the voice cloning API to give it a branded or custom voice, served programmatically.

Is there a free ElevenLabs API?+

ElevenLabs offers a free plan to explore the API. Paid plans scale by usage, with options for individual developers, growing teams, and enterprise. Enterprise includes custom rate limits, SLAs, and dedicated support.

Is this just a TTS API, or can I build a full voice product?+

It's a full platform. ElevenAgents handles the full conversational loop - turn detection, interruption handling, tool calls, and real-time voice - without requiring you to stitch together separate ASR, TTS, and orchestration providers. You can configure, deploy, and monitor agents from a single platform.

Will the voices actually sound natural, or robotic?+

Voice quality is the reason most developers evaluate ElevenLabs in the first place. The models produce AI voices that sound virtually indistinguishable from human recordings - with accurate prosody, natural pacing, and emotional range across accents and languages. The best way to verify this for your use case is to run audio through the API directly; no sales call required.

What ElevenLabs API documentation is available when I hit a problem?+

Our docs cover the full API surface - SDKs, streaming, webhooks, ElevenAgents configuration, and Scribe. There is an active developer community on Discord for peer support and feedback. Paid plans include email support, and enterprise plans include dedicated support with defined SLAs.

Ship something people can hear

Ship something people can hear

Ship something people can hear

Get 10,000 free credits, start building now.

Get 10,000 free credits, start building now.