chatrooms

Create Class Chatroom

Start an instant ORG-LINKED class room and drop the teacher in as host.

Unlike /create (which produces a regular, non-school room), the room here has organization_id set, so it flows into the school's Classes & reports. The caller must be a teacher/admin/owner of the org. Returns the same shape as /create (room_name, join_code, token, server_url) so the frontend can navigate straight into the room.

post/chatrooms/create-class

Headers

authorizationstring nullable

Request body

organization_idstring required
languagestring nullable
topicstring nullable
max_participantsinteger
video_enabledboolean
activity_typestring nullable
language_astring nullable
language_bstring nullable
half_minutesnumber nullable
group_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/chatrooms/create-class:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.