---
title: "List classrooms"
method: GET
path: "/classrooms"
tags: ["classroom"]
---

# List classrooms

`GET /classrooms`

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.

---

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