---
title: "Create Class Chatroom"
method: POST
path: "/chatrooms/create-class"
tags: ["chatrooms"]
---

# Create Class Chatroom

`POST /chatrooms/create-class`

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.

## Headers

- `authorization` string, nullable

## Request body

- CreateClassRequest
  - `organization_id` string, required
  - `language` string, nullable
  - `topic` string, nullable
  - `max_participants` integer
  - `video_enabled` boolean
  - `activity_type` string, nullable
  - `language_a` string, nullable
  - `language_b` string, nullable
  - `half_minutes` number, nullable
  - `group_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluentea/aurqa-language-learning-platform-refactored/revisions/78f314acd8bf/schema)
