---
title: "Closing down - List classrooms"
method: GET
path: "/classrooms"
tags: ["classroom"]
deprecated: true
---

# Closing down - List classrooms

`GET /classrooms`

> **Deprecated.**

> [!WARNING]
> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.
> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).

Lists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Response

- SimpleClassroom[]
  - `id` integer, required — Unique identifier of the classroom.
  - `name` string, required — The name of the classroom.
  - `archived` boolean, required — Returns whether classroom is archived or not.
  - `url` string, required — The url of the classroom on GitHub Classroom.

## Other responses

- `410` — Gone

## Changes

- **2026-07-16** (2022-11-28) `68189602293a` — 1 info
  - added the non-success response with the status `410`
- **2026-07-14** (2022-11-28) `6b7bab78dc34` — 1 info
  - endpoint deprecated

[Change history](https://skmtc.dev/github/apis/rest/changes/classrooms/get.md)

---

[API](https://skmtc.dev/github/apis/rest.md) · [All operations](https://skmtc.dev/github/apis/rest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/rest/revisions/5286c3553553/schema)
