Create a room
POST/api/rooms
Creates a room and returns it with its generated 12-character id, which is used in invite links. The caller becomes the room's host. defaultRole is the role people get when they first join: participant (can publish audio and video) or attendee (listen only); an unknown value falls back to participant. The waiting room is on by default only for attendee rooms unless waitingRoom is sent. No LiveKit room is created until someone joins. Any signed-in user may call it.
name is trimmed and must be 1 to 120 characters.
Request
Responses
- 201
- 400
- 401
Room created. The caller is the host.
Request failed.
Request failed.