Skip to main content
POST
Open a session without an API key

Path Parameters

realtimeAssistantId
string<uuid>
required

Body

application/json
participantName
string
required

Display name of the person joining, as the assistant sees it.

Minimum string length: 1
roomName
string

Cosmetic prefix for the generated room — truncated to 15 characters, with the session id appended. Overrides the assistant's config.session.roomPrefix.

Response

Credentials for the browser client. The agent joins once the client connects.

token
string

LiveKit access token. Hand it to a LiveKit client SDK along with wsUrl.

wsUrl
string<uri>

LiveKit WebSocket URL the client connects to.

roomName
string

The room this token opens. Server-generated — treat it as opaque.