---
title: "OneRoster - Get all enrollments"
method: GET
path: "/oneroster/enrollments"
tags: ["Oneroster"]
---

# OneRoster - Get all enrollments

`GET /oneroster/enrollments`

**Requires permission:** *ServiceAccount*

OneRoster v1.1 GetAllEnrollments. Class enrollments plus House class enrollments (house staff + tutors as teachers, house pupils as students). Supports offset/limit and status filtering.

## Response `200`

Success - enrollments

- EnrollmentSetResponse
  - `enrollments` OrEnrollment[]
    - `sourcedId` string, nullable
    - `status` string
    - `dateLastModified` string, date-time, nullable
    - `user` OrGuidRef
      - `href` string, nullable
      - `sourcedId` string, nullable
      - `type` string, nullable
    - `class` OrGuidRef
      - `href` string, nullable
      - `sourcedId` string, nullable
      - `type` string, nullable
    - `school` OrGuidRef
      - `href` string, nullable
      - `sourcedId` string, nullable
      - `type` string, nullable
    - `role` string, nullable
    - `primary` boolean

## Other responses

- `401` — Unauthorized
- `403` — Caller is not an authorised service account

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
