Skip to main content

Update Live Session

Update a live session.

POST
/live-session/update
x-api-key<token>

API key used for authentication

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/live-session/update" \  -H "Content-Type: application/json" \  -d '{    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"  }'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "platform": "twitch",
  "startTime": "2026-04-11T01:15:19.229Z",
  "endTime": "2026-04-11T02:15:19.229Z",
  "peakViewerCount": 500,
  "finalViewerCount": 450,
  "externalSessionId": null,
  "note": "Updated note",
  "createdAt": "2026-04-11T01:15:19.229Z",
  "updatedAt": "2026-04-11T01:15:19.229Z"
}
{
  "error": "string",
  "code": "string",
  "details": {}
}