Skip to main content
POST
Create a Daily session
Supply the agent_id of a voice agent you own. The default conversation_config_type is VOICE. Choose VIDEO for an agent configured for video. Set client_tools to the names of handlers the browser actually provides. Omitting it or sending an empty list offers no browser tools.
On success, pass dailyRoom and dailyToken to your Daily client to join. Keep conversation_id to look up the conversation. Inspect unknown_client_tools if a requested handler was unavailable.

Authorizations

X-API-Key
string
header
required

Studio API key for server-side requests.

Body

application/json
agent_id
string
required

ID of an agent you own.

conversation_id
string

Generated when omitted.

conversation_metadata
object
conversation_visibility
boolean

Guest visibility of the conversation.

conversation_config_type
enum<string>
default:VOICE
Available options:
VOICE,
VIDEO
is_test_call
boolean
default:false
client_tools
string[]

Names this browser handles. Omitted or empty offers none.

Maximum array length: 32

Response

Successful request

conversation_id
string
required
dailyRoom
string
required

Room URL for the Daily client.

dailyToken
string
required

Meeting token for the Daily client.

details
string
id
string
client_tools
string[]
unknown_client_tools
string[]