---
updatedAt: 2026-05-27T00:16:27.000Z
agentTools:
  projectIndex: https://360learning.readme.io/llms.txt
---

# List all classrooms

> 🔑
>
> Required OAuth scope: `classrooms:read`.

> 📖
>
> This endpoint is paginated with a page size of 500 classrooms. For more information, see the [Pagination guide](doc:pagination).

Lists all classrooms in your platform.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "paths": {
    "/api/v2/classrooms": {
      "get": {
        "description": "> 🔑\n>\n> Required OAuth scope: `classrooms:read`.\n\n> 📖\n>\n> This endpoint is paginated with a page size of 500 classrooms. For more information, see the [Pagination guide](doc:pagination).\n\nLists all classrooms in your platform.",
        "operationId": "v2.classrooms.GetClassroomsController_getClassrooms",
        "parameters": [
          {
            "name": "360-api-version",
            "in": "header",
            "description": "The version of the API.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "v2.0"
              ]
            }
          },
          {
            "name": "groupId",
            "required": false,
            "in": "query",
            "style": "deepObject",
            "explode": true,
            "description": "Filter on **groupId** property with LHS bracket notation.\n\nExpected value format is a valid ID (24 digits or letters).",
            "schema": {
              "properties": {
                "eq": {
                  "type": "string",
                  "format": "ObjectId",
                  "pattern": "^[a-fA-F0-9]{24}$",
                  "description": "Filter on values equal to the given one",
                  "example": "507f1f77bcf86cd799439011"
                },
                "ne": {
                  "type": "string",
                  "format": "ObjectId",
                  "pattern": "^[a-fA-F0-9]{24}$",
                  "description": "Filter on values not equal to the given one",
                  "example": "507f1f77bcf86cd799439011"
                },
                "in": {
                  "type": "array",
                  "description": "Filter on values including the given ones",
                  "items": {
                    "type": "string",
                    "format": "ObjectId",
                    "pattern": "^[a-fA-F0-9]{24}$",
                    "example": "507f1f77bcf86cd799439011"
                  }
                },
                "nin": {
                  "type": "array",
                  "description": "Filter on values excluding the given ones",
                  "items": {
                    "type": "string",
                    "format": "ObjectId",
                    "pattern": "^[a-fA-F0-9]{24}$",
                    "example": "507f1f77bcf86cd799439011"
                  }
                }
              }
            }
          },
          {
            "name": "createdAt",
            "required": false,
            "in": "query",
            "style": "deepObject",
            "explode": true,
            "description": "Filter on **createdAt** property with LHS bracket notation.\n\nExpected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.",
            "schema": {
              "properties": {
                "lt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Filter on dates lower than the given one",
                  "example": "2020-01-01T10:30:26.000Z"
                },
                "gte": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Filter on dates greater than or equal the given one",
                  "example": "2020-01-01T10:30:26.000Z"
                }
              }
            }
          },
          {
            "name": "modifiedAt",
            "required": false,
            "in": "query",
            "style": "deepObject",
            "explode": true,
            "description": "Filter on **modifiedAt** property with LHS bracket notation.\n\nExpected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.",
            "schema": {
              "properties": {
                "lt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Filter on dates lower than the given one",
                  "example": "2020-01-01T10:30:26.000Z"
                },
                "gte": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Filter on dates greater than or equal the given one",
                  "example": "2020-01-01T10:30:26.000Z"
                }
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns one page of 500 classrooms.",
            "headers": {
              "Link": {
                "schema": {
                  "type": "string"
                },
                "description": "URL (between `<` `>`) to fetch the immediate next page of results. For more information, see our [Pagination guide](doc:pagination).\n\n⚠️ Only included if there is another page of results.",
                "example": "<my/resource/url>; rel=\"next\""
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClassroomDTO"
                  }
                }
              }
            }
          },
          "401": {
            "description": "The given access token is either missing, invalid, has expired, or has been revoked.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "invalid_token"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "The given access token does not have the required OAuth scope to execute the request.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Invalid Scope",
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "enum": [
                            "invalid_scope"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "example": "A human-readable message to help with debugging."
                        }
                      },
                      "required": [
                        "code",
                        "message"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "The client has sent too many requests in a short amount of time. ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "tooManyRequests"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ],
        "summary": "List all classrooms",
        "tags": [
          "Classrooms"
        ]
      }
    }
  },
  "info": {
    "title": "Core API",
    "description": "",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://app.360learning.com",
      "description": "Production EU"
    },
    {
      "url": "https://app.us.360learning.com",
      "description": "Production US"
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/api/v2/oauth2/token",
            "scopes": {}
          }
        },
        "description": "Use the token from the authentication endpoint in the Authorization header.\n\nExample: `Authorization: Bearer <token>`"
      }
    },
    "schemas": {
      "ClassroomDTO": {
        "title": "Classroom",
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "description": "The unique ID of the creation group of the classroom.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "_id": {
            "type": "string",
            "description": "The unique ID of the classroom.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "description": "The date at which the classroom was created, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "name": {
            "type": "string",
            "description": "The title of the classroom.",
            "example": "Security Conference"
          },
          "mediaIds": {
            "maxItems": 20,
            "description": "The list of unique IDs of the medias assigned to this classroom. These attachments will be sent by email to registered learners.",
            "example": [
              "507f1f77bcf86cd799439011"
            ],
            "type": "array",
            "items": {
              "type": "string",
              "format": "ObjectId",
              "pattern": "^[a-fA-F0-9]{24}$"
            }
          },
          "message": {
            "type": "string",
            "description": "Complementary information about the classroom. This information will be sent by email to registered learners.",
            "example": "Be sure to have read all the attachments before the conference."
          },
          "modifiedAt": {
            "format": "date-time",
            "type": "string",
            "description": "The date at which the classroom was last modified, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "trainingObjective": {
            "type": "string",
            "description": "The training objective of the classroom.",
            "example": "Learn the security rules of the company."
          }
        },
        "required": [
          "groupId",
          "_id",
          "name",
          "mediaIds"
        ]
      }
    }
  },
  "x-readme": {
    "apply-tag-changes": true
  }
}
```