---
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

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/revisions/dc0584ac4e13/schema)
