Skip to main content
POST
Start a session from inline config

Authorizations

Authorization
string
header
required

Project API key (sk_api_…).

Body

application/json
participantName
string
required

Identity your client joins the room under.

Minimum string length: 1
config
object
required

Keys beyond those listed are stored and returned unchanged.

roomName
string

Cosmetic room prefix, truncated to its first 15 characters. Overrides config.session.roomPrefix; without either, the prefix is adhoc.

Response

Credentials for the browser client to join with.

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.