Twilio Websocket
Create Twilio Bot Configuration
Client Reference
Server Reference
Services
- Supported Services
- Speech-to-Text
- LLM
- Text-to-Speech
- Speech-to-Speech
- Transport
Phone Numbers
Twilio Websocket
Create Twilio Bot Configuration
Create a new Twilio bot configuration
POST
/
bots
/
twilio-config
curl --request POST \
--url https://api.daily.co/v1/bots/twilio-config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"bot_profile": "<string>",
"services": {
"llm": "<string>",
"stt": "<string>",
"tts": "<string>"
},
"config": [
{
"service": "vad",
"options": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"max_duration": 600,
"rtvi_client_version": "<string>",
"api_keys": {},
"dialin_settings": {},
"dialout_settings": [
"<any>"
],
"webhook_tools": {},
"service_options": {},
"room": {
"geo": "<string>",
"x_mesh_sfu": "<string>"
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
Successfully created Twilio configuration
curl --request POST \
--url https://api.daily.co/v1/bots/twilio-config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"bot_profile": "<string>",
"services": {
"llm": "<string>",
"stt": "<string>",
"tts": "<string>"
},
"config": [
{
"service": "vad",
"options": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"max_duration": 600,
"rtvi_client_version": "<string>",
"api_keys": {},
"dialin_settings": {},
"dialout_settings": [
"<any>"
],
"webhook_tools": {},
"service_options": {},
"room": {
"geo": "<string>",
"x_mesh_sfu": "<string>"
}
}'