Pokoje na żywo
Endpointy „Pokoje na żywo” Zanfia Workspace API — ze schematami i przykładami kodu.
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
/live-roomsAuthorization
bearerAuth 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
/live-rooms/{roomId}/attendanceAuthorization
bearerAuth API key from Dashboard → Integrations → API, MCP and CLI.
In: header
Path Parameters
Query Parameters
ISO 8601 start of one session (a sessionStartAt of the summaries) whose attendee rows to include.
date-timeResponse 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?

