Server Reference
Start Bot
Client Reference
Server Reference
Services
- Supported Services
- Speech-to-Text
- LLM
- Text-to-Speech
- Speech-to-Speech
- Transport
Phone Numbers
Server Reference
Start Bot
Start a bot with the specified configuration.
POST
/
bots
/
start
curl --request POST \
--url https://api.daily.co/v1/bots/start \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"bot_profile": "voice_2024_10",
"services": {
"stt": "deepgram",
"llm": "anthropic",
"tts": "cartesia"
},
"service_options": {},
"recording_settings": {
"type": "cloud",
"recordings_bucket": {
"allow_api_access": true,
"allow_streaming_from_bucket": true,
"assume_role_arn": "<string>",
"bucket_name": "<string>",
"bucket_region": "<string>"
}
},
"max_duration": 200,
"config": [
"<any>"
],
"api_keys": {},
"dialin_settings": {
"call_id": "<string>",
"call_domain": "<string>"
},
"dialout_settings": {},
"webhook_tools": {}
}'
{
"room_url": "https://YOURDOMAIN.daily.co/YOURROOM",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyIjoiT0ZJcEdGWFZhMUxLWGNwbTlqY0MiLCJvIjp0cnVlLCJleHAiOjE3MjQxNjY3MzUsImQiOiJmNjE0NTVmMS1mODlhLTQxODEtYTczMi00M2Y4MDY0OWRlOWMiLCJpYXQiOjE3MjQxNjU4MzV9.I7V4K1q3DXryJkvfUfDY5-M6vdyWXCbdqmHQjU_8ago"
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your DAILY_API_KEY.
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
curl --request POST \
--url https://api.daily.co/v1/bots/start \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"bot_profile": "voice_2024_10",
"services": {
"stt": "deepgram",
"llm": "anthropic",
"tts": "cartesia"
},
"service_options": {},
"recording_settings": {
"type": "cloud",
"recordings_bucket": {
"allow_api_access": true,
"allow_streaming_from_bucket": true,
"assume_role_arn": "<string>",
"bucket_name": "<string>",
"bucket_region": "<string>"
}
},
"max_duration": 200,
"config": [
"<any>"
],
"api_keys": {},
"dialin_settings": {
"call_id": "<string>",
"call_domain": "<string>"
},
"dialout_settings": {},
"webhook_tools": {}
}'
{
"room_url": "https://YOURDOMAIN.daily.co/YOURROOM",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyIjoiT0ZJcEdGWFZhMUxLWGNwbTlqY0MiLCJvIjp0cnVlLCJleHAiOjE3MjQxNjY3MzUsImQiOiJmNjE0NTVmMS1mODlhLTQxODEtYTczMi00M2Y4MDY0OWRlOWMiLCJpYXQiOjE3MjQxNjU4MzV9.I7V4K1q3DXryJkvfUfDY5-M6vdyWXCbdqmHQjU_8ago"
}