---
title: "List all classrooms"
method: GET
path: "/api/v2/classrooms"
tags: ["Classrooms"]
---

# List all classrooms

`GET /api/v2/classrooms`

> 🔑
>
> Required OAuth scope: `classrooms:read`.

> 📖
>
> This endpoint is paginated with a page size of 500 classrooms. For more information, see the [Pagination guide](https://360learning.readme.io/docs/pagination).

Lists all classrooms in your platform.

## Query parameters

- `groupId` object
  - `eq` string, ObjectId — Filter on values equal to the given one
  - `ne` string, ObjectId — Filter on values not equal to the given one
  - `in` string[] — Filter on values including the given ones
  - `nin` string[] — Filter on values excluding the given ones
- `createdAt` object
  - `lt` string, date-time — Filter on dates lower than the given one
  - `gte` string, date-time — Filter on dates greater than or equal the given one
- `modifiedAt` object
  - `lt` string, date-time — Filter on dates lower than the given one
  - `gte` string, date-time — Filter on dates greater than or equal the given one

## Headers

- `360-api-version` 'v2.0', required

## Response `200`

Returns one page of 500 classrooms.

- ClassroomDTO[]
  - `groupId` string, ObjectId, required — The unique ID of the creation group of the classroom.
  - `_id` string, ObjectId, required — The unique ID of the classroom.
  - `createdAt` string, date-time — The date at which the classroom was created, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC)).
  - `name` string, required — The title of the classroom.
  - `mediaIds` string[], required — The list of unique IDs of the medias assigned to this classroom. These attachments will be sent by email to registered learners.
  - `message` string — Complementary information about the classroom. This information will be sent by email to registered learners.
  - `modifiedAt` string, date-time — The date at which the classroom was last modified, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC)).
  - `trainingObjective` string — The training objective of the classroom.

## Other responses

- `401` — The given access token is either missing, invalid, has expired, or has been revoked.
- `403` — The given access token does not have the required OAuth scope to execute the request.
- `429` — The client has sent too many requests in a short amount of time.

---

[API](https://skmtc.net/360learning/apis/core-api.md) · [All operations](https://skmtc.net/360learning/apis/core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/360learning/core-api/revisions/94b691b0b72c/schema)
