---
title: "Closing down - Get a classroom"
method: GET
path: "/classrooms/{classroom_id}"
tags: ["classroom"]
deprecated: true
---

# Closing down - Get a classroom

`GET /classrooms/{classroom_id}`

> **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).

Gets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.

## Path parameters

- `classroom_id` integer, required

## Response `200`

Response

- Classroom — A GitHub Classroom classroom
  - `id` integer, required — Unique identifier of the classroom.
  - `name` string, required — The name of the classroom.
  - `archived` boolean, required — Whether classroom is archived.
  - `organization` SimpleClassroomOrganization, required — A GitHub organization.
    - `id` integer, required
    - `login` string, required
    - `node_id` string, required
    - `html_url` string, uri, required
    - `name` string, nullable, required
    - `avatar_url` string, required
  - `url` string, required — The URL of the classroom on GitHub Classroom.

## Other responses

- `404` — Resource not found
- `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/versions/dc0584ac4e13/schema)
