classroom
Closing down - Get a classroom
[!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.
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.
get/classrooms/{classroom_id}
Path parameters
classroom_idinteger required
The unique identifier of the classroom.
Response
Response
Example response
{
"id": 42,
"name": "Programming Elixir",
"organization": {
"id": 1,
"login": "github",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
"html_url": "https://github.com/github",
"name": "Github - Code thigns happen here",
"avatar_url": "https://github.com/images/error/octocat_happy.gif"
},
"url": "https://classroom.github.com/classrooms/1-programming-elixir"
}