Join a LiveKit room
Has the session join a LiveKit room you host. The model’s output tracks are published to
the room, and every other participant in the room becomes a client of the session. Create
the session with POST /sessions as usual; the room is named only here.
The join runs in the background, so the response returns at once with the room
connection’s connection_id. Poll GET on the connection to learn how the join went. The
model must be built with LiveKit support; otherwise the join ends as failed.
Each call opens another room connection, which counts toward connections_per_session.
token is a credential: it is never logged, stored, or returned. This route takes no
Reactor-WebRTC-Version header.
Only the user who started the session may call this. A session token works only for the sessions bound to it.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Headers
The API protocol version the client speaks. Currently 1. Older versions than the server's minimum get 426.
"1"
Path Parameters
The session's ID, as returned by POST /sessions.
Body
Response
The join started.
The server-assigned connection ID, from 1002 to 4999.
4321