Skip to main content
POST
/
v1
/
sessions
/
start
Start Session
curl --request POST \
  --url https://api.example.com/v1/sessions/start \
  --header 'Authorization: Bearer <token>'
{
  "code": 100,
  "data": {
    "session_id": "<string>",
    "livekit_url": "<string>",
    "livekit_client_token": "<string>",
    "livekit_agent_token": "<string>",
    "max_session_duration": 123,
    "ws_url": "<string>"
  },
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

201 - application/json

Successful Response

code
integer
default:100
data
StartSessionResponseSchema · object
message
string