Start Bot
Start a bot with the specified configuration.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your DAILY_API_KEY.
Body
Profile name of the bot.
voice_2024_10
, voice_2024_08
, vision_2024_10
, vision_2024_08
, openai_realtime_beta_2024_10
, natural_conversation_2024_11
, twilio_ws_voice_2024_09
"voice_2024_10"
Services associated with the bot. See supported services for more the most up-to-date options.
Optional service options for the services provided in the "services" section. The keys should match a service name provided in the "services" section. Each service can have either a single options object or an array of options objects. e.g. {"openai_tts": {"sample_rate": 24000}}
or {"some_service": [{"option1": "value1"}, {"option2": "value2"}]}
. See Service Options for more information.
Optional recording settings to specify what type of recording is created and where it is stored. See the Recording guide for more information.
Maximum duration for the bot's operation in seconds.
60 <= x <= 86400
200
Array of configurations for the services provided in the "services" section. The values should match a key provided in the "services" section. e.g. "llm", "tts"
, "stt" or a pre-defined service provided by they bot. e.g. `"vad". See Configurations for more information and see each service page from the Supported Services for available configuration options.
Optional set of API keys for the bot use for the given services. The key values should match a service name provided in the "services" section. e.g. {"cartesia": YOUR_CARTESIA_API_KEY}
. See BYO API keys for more information.
Response
The Daily room for your client to connect to.
"https://YOURDOMAIN.daily.co/YOURROOM"
The Daily meeting token to include when your client joins the room.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyIjoiT0ZJcEdGWFZhMUxLWGNwbTlqY0MiLCJvIjp0cnVlLCJleHAiOjE3MjQxNjY3MzUsImQiOiJmNjE0NTVmMS1mODlhLTQxODEtYTczMi00M2Y4MDY0OWRlOWMiLCJpYXQiOjE3MjQxNjU4MzV9.I7V4K1q3DXryJkvfUfDY5-M6vdyWXCbdqmHQjU_8ago"