Skip to main content

List chat messages

GET 

/api/rooms/:roomId/messages

Returns the room's saved chat history, the most recent messages up to limit (default 200) in time order, together with the room. Clients load it when joining; new messages arrive over the LiveKit data channel. The room creator and members whose role has the chat permission (every role) may call it. Guests pass the guestId they joined with.

Returns 401 without a session or valid guestId, and 403 for someone who is not a member.

Request​

Responses​

Messages in time order.