Skip to contentSkip to navigationSkip to topbar

Conversation Relay

Twilio's Conversation Relay empowers you to build powerful AI voice experiences for your customers. Let Twilio handle the heavy lifting of speech recognition, text-to-speech, and voice synthesis, so you can focus on building your application.

Get started now

Take the next steps with Conversation Relay

Guides
Learn more
Understanding your AI models
1
Twilio servers
2
Your app
const VoiceResponse = require('twilio').twiml.VoiceResponse;
const response = new VoiceResponse();
const connect = response.connect({
action: 'https://myhttpserver.com/connect_action'
});
connect.conversationRelay({
url: 'wss://mywebsocketserver.com/websocket',
welcomeGreeting: 'Hi! Ask me anything!'
});
3
Conversation Relay streams your response to the caller using a natural-sounding voice

Take the next steps with Conversation Relay


Guides

After you've completed the onboarding steps, you are ready to start building your first application. Tap on one of the below tutorials to get started with building your first Conversation Relay app.


Learn more

Conversation Relay is flexible — and there are many ways to build an application that uses it. Tap on the links below to find tutorials and reference documentation for Conversation Relay and related Twilio services.

Reference documentation

Understanding your AI models

Conversation Relay uses artificial intelligence and machine learning technologies. We want you to understand how these technologies work, what data they use, and how they're trained. That's why we provide AI Nutrition Facts(link takes you to an external page) for our AI-powered features. Tap on the name of a provider to learn more about the characteristics of their TTS and STT models.


Twilio offers other tools to enhance your voice applications such as adding in-application chat and synchronizing your application's state across devices.

Conversational Intelligence
Conversational Intelligence

Unlock the value in every customer interaction with AI-powered transcription and language analysis.

Product documentation
Flex
Flex

Build digital engagement for your contact center, sales conversations, and personalized support

Product documentation
Voice
Voice

Build unique phone call experiences with one API to make, receive, control, and monitor calls around the globe.

Product documentation