Skip to main content
POST
/
api
/
v1
/
sessions
/
{id}
/
start
Start session (operator)
curl --request POST \
  --url https://api.luxxon.dev/api/v1/api/v1/sessions/{id}/start \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "message": "Request successful",
  "data": {
    "session": {
      "id": "b1e2f3a4-5b6c-7d8e-9f0a-1b2c3d4e5f6a",
      "consumerWorkspaceId": "8c3a5b6f-1d2e-4f7a-9b8c-d1e2f3a4b5c6",
      "operatorWorkspaceId": "9d4b6c7f-2e3f-5a8b-0c1d-e2f3a4b5c6d7",
      "state": "REQUESTED",
      "maxDurationSeconds": 600,
      "waitTimeoutSeconds": 300,
      "ratePerSecondMicroUsdc": "1000",
      "holdMicroUsdc": "600000",
      "startedAt": null,
      "endedAt": null,
      "cleanSeconds": 0,
      "chargedMicroUsdc": "0",
      "settlementTxHash": null,
      "videoBackendRef": "6a7aab6e273b40251e8ee72d7ca05719",
      "createdAt": "2026-05-13T11:30:00.000Z",
      "requestedLat": 4.711234,
      "requestedLng": -74.072456,
      "authorized": false,
      "whepUrl": "https://customer-CODE.cloudflarestream.com/UID/webRTC/play",
      "whipUrl": "https://customer-CODE.cloudflarestream.com/SECRETkUID/webRTC/publish"
    },
    "videoBackendRef": "6a7aab6e273b40251e8ee72d7ca05719",
    "whipUrl": "https://customer-CODE.cloudflarestream.com/SECRETkUID/webRTC/publish",
    "whepUrl": "https://customer-CODE.cloudflarestream.com/UID/webRTC/play"
  },
  "timestamp": "2026-05-13T12:00:00.000Z"
}

Authorizations

Authorization
string
header
required

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

Headers

x-lx-consistency-token
string

Path Parameters

id
string
required
Example:

"b1e2f3a4-5b6c-7d8e-9f0a-1b2c3d4e5f6a"

Response

Request successful

statusCode
number
required
Example:

200

message
string
required
Example:

"Request successful"

data
object
required

Endpoint-specific payload. See the per-endpoint schema.

timestamp
string
required
Example:

"2026-05-13T12:00:00.000Z"