---
title: Get the List of Classes
framework: devicemanagement
role: symbol
role_heading: Web Service Endpoint
path: devicemanagement/fetch-class-roster
---

# Get the List of Classes

Obtain a list of classes the server manages.

## URL

POST https://mdmenrollment.apple.com/roster/class

## Response Codes

200 OK: The request was successful. The server returns a list of classes. 400 Bad Request: The server was unable to process the request.

## HTTP Body

The object containing the request information.

## Topics

### Request and Response

- [RosterRequest](devicemanagement/rosterrequest.md)
- [RosterClassResponse](devicemanagement/rosterclassresponse.md)

## See Also

### Class management

- [RosterClass](devicemanagement/rosterclass.md)
- [Sync the List of Classes](devicemanagement/fetch-class-roster-sync.md)
