Polls

List polls in the current room (mid-join sync)

GET
/api/v1/polls/public

Authorization

participant-token
AuthorizationBearer <token>

Participant join token (LiveKit JWT — the only browser-held credential)

In: header

Query Parameters

status?string

Value in

  • "DRAFT"
  • "ACTIVE"
  • "CLOSED"

Response Body

application/json

curl -X GET "https://example.com/api/v1/polls/public"
[  {    "id": "string",    "roomId": "string",    "question": "string",    "status": "DRAFT",    "isAnonymous": true,    "allowMultiple": true,    "totalVotes": 0,    "options": [      {        "id": "string",        "text": "string",        "order": 0,        "count": 0      }    ],    "createdAt": "2019-08-24T14:15:22Z",    "closedAt": {}  }]