Skip to main content

Add Session Event

Add an event to a live session.

POST
/live-session/addEvent
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/addEvent" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",    "type": "string",    "description": "string",    "timestamp": "2019-08-24T14:15:22Z"  }'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "sessionId": "00000000-0000-0000-0000-000000000001",
  "type": "KEY_MOMENT",
  "description": "Started playing",
  "metadata": "{\"activity\":\"Just Chatting\"}",
  "timestamp": "2026-04-11T01:15:19.229Z",
  "createdAt": "2026-04-11T01:15:19.229Z"
}
{
  "error": "string",
  "code": "string",
  "details": {}
}