Workspace API

Pokoje na żywo

Endpointy „Pokoje na żywo” Zanfia Workspace API — ze schematami i przykładami kodu.

2 min czytaniaOstatnia aktualizacja: 30 wrz 2026

Pokoje na żywo (Marketing → Pokoje na żywo): pokoje webinarowe ze streamem lub nagraniem odtwarzanym o stałej godzinie, opcjonalnie jako powtarzane sesje co N minut (autowebinar just-in-time). Tylko odczyt — pokoje tworzysz i edytujesz w panelu. Frekwencja liczy prawdziwych widzów po sygnałach obecności w trakcie sesji; powtórka nie jest frekwencją. Wszystkie endpointy wymagają nagłówka Authorization: Bearer — zobacz Uwierzytelnianie.

Lista pokoi na żywo

GET/live-rooms

Authorization

bearerAuth
AuthorizationBearer <token>

API key from Dashboard → Integrations → API, MCP and CLI.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/live-rooms"
{  "rooms": [    {      "id": "string",      "title": "string",      "description": "string",      "status": "scheduled",      "source": "youtube",      "startAt": "string",      "endAt": "string",      "timezone": "string",      "schedule": {        "everyMinutes": 0,        "until": "string"      },      "durationSeconds": 0,      "access": {        "everyone": true,        "productIds": [          "string"        ],        "communityIds": [          "string"        ]      },      "chatMode": "open",      "guestChat": "off",      "offer": {        "label": "string",        "url": "string",        "productId": "string",        "checkoutId": "string",        "atMinute": 0      },      "endedAt": "string",      "createdAt": "string",      "updatedAt": "string"    }  ]}
{  "error": "string",  "message": "string"}

Frekwencja pokoju

GET/live-rooms/{roomId}/attendance

Authorization

bearerAuth
AuthorizationBearer <token>

API key from Dashboard → Integrations → API, MCP and CLI.

In: header

Path Parameters

roomId*string

Query Parameters

session?string

ISO 8601 start of one session (a sessionStartAt of the summaries) whose attendee rows to include.

Formatdate-time

Response Body

application/json

application/json

curl -X GET "https://example.com/live-rooms/string/attendance"
{  "sessions": [    {      "sessionStartAt": "string",      "attendees": 0,      "identified": 0,      "averageWatchedSeconds": 0,      "watchedToEnd": 0,      "durationSeconds": 0    }  ],  "attendees": [    {      "attendee": "client",      "clientId": "string",      "displayName": "string",      "email": "string",      "firstSeenAt": "string",      "lastSeenAt": "string",      "watchedSeconds": 0,      "maxPositionSeconds": 0    }  ]}
{  "error": "string",  "message": "string"}

Czy ten artykuł był pomocny?

Powiązane artykuły

Coś się nie zgadza? Napisz do nas na support@zanfia.com.