> ## Documentation Index
> Fetch the complete documentation index at: https://developer.chessplay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Classroom

> Retrieve a specific classroom

## Path Parameters

<ParamField path="id" type="integer" required>
  Classroom ID
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.chessplay.io/api/v1/classrooms/1/ \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  ```

  ```python Python theme={null}
  import requests

  headers = {"Authorization": "Bearer YOUR_ACCESS_TOKEN"}
  response = requests.get(
      "https://api.chessplay.io/api/v1/classrooms/1/",
      headers=headers
  )
  classroom = response.json()
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.chessplay.io/api/v1/classrooms/1/', {
    headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN' }
  });
  const classroom = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 Success theme={null}
  {
    "id": 1,
    "name": "Beginner Chess",
    "description": "Introduction to chess",
    "coach": {...},
    "students": [...],
    "start_time": "2024-01-20T10:00:00Z",
    "end_time": "2024-01-20T11:00:00Z",
    "created": "2024-01-15T10:30:00Z"
  }
  ```
</ResponseExample>
