---
title: "Get enrollments for a course (with optional paging and/or filtering). Roles: admin."
method: GET
path: "/api/courses/{contentId}/members"
tags: ["Courses"]
---

# Get enrollments for a course (with optional paging and/or filtering). Roles: admin.

`GET /api/courses/{contentId}/members`

## Path parameters

- `contentId` integer, required

## Query parameters

- `pageIndex` integer
- `pageSize` integer
- `audienceId` integer
- `courseStatus` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED'
- `access` 'VALID' | 'EXPIRED'
- `name` string
- `username` string

## Response `200`

OK

- PagedResponseAssetUserMembershipFull
  - `success` boolean
  - `error` string
  - `pageRequest` PageRequest
    - `pageIndex` integer
    - `pageSize` integer
  - `totalItemCount` integer
  - `items` AssetUserMembershipFull[]
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string
    - `assetUserMembershipId` integer
    - `assetId` integer
    - `userMembershipId` integer
    - `startTime` string, date-time
    - `completeTime` string, date-time
    - `firstCompleteTime` string, date-time
    - `expireDate` string, date
    - `expired` boolean
    - `active` boolean
    - `progress` integer
    - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED'
    - `token` string
    - `creditsEarned` number
    - `member` MemberSlim
      - `userMembershipId` integer
      - `membershipId` integer
      - `username` string
      - `firstName` string
      - `middleName` string
      - `lastName` string
      - `email` string
      - `phone` string
      - `membershipNumber` string
      - `fullName` string
      - `isPrimary` boolean
    - `dateStarted` string
    - `dateCompleted` string
  - `totalPages` integer
  - `itemCount` integer
  - `isFirst` boolean
  - `isLast` boolean
  - `hasNext` boolean
  - `hasPrevious` boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

## Changes

- **2026-09-02** `870f28ba2607` — 5 info
  - added the optional property `error/errorId` to the response with the `400` status
  - added the optional property `error/errorId` to the response with the `401` status
  - added the optional property `error/errorId` to the response with the `403` status
  - added the optional property `error/errorId` to the response with the `404` status
  - …1 more

[Change history](https://skmtc.dev/mobilecoach/apis/untitled-api/changes/api/courses/:contentId/members/get.md)

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) · [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mobilecoach/untitled-api/revisions/870f28ba2607/schema)
