---
title: "Search member directory (with paginated results). Roles: admin, member."
method: GET
path: "/api/memberships/{membershipId}/members/directory/search"
tags: ["Members", "Organizations"]
---

# Search member directory (with paginated results). Roles: admin, member.

`GET /api/memberships/{membershipId}/members/directory/search`

## Request

- Base URL: `https://api.mobilecoach.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mobilecoach.org/api/memberships/{membershipId}/members/directory/search`
- Auth: `AuthToken` (a scheme the document does not define)

## Path parameters

- `membershipId` integer, required

## Query parameters

- `pageIndex` integer
- `pageSize` integer
- `firstName` string
- `lastName` string
- `groupId` integer[]
- `locale` string

## Response `200`

OK

- PagedResponseMemberDirectoryMatch
  - `success` boolean
  - `error` string
  - `pageRequest` PageRequest
    - `pageIndex` integer
    - `pageSize` integer
  - `totalItemCount` integer
  - `items` MemberDirectoryMatch[]
    - `firstName` string
    - `middleName` string
    - `lastName` string
    - `fullName` string
    - `completedCourses` MemberDirectoryCourseMatch[]
      - `title` string
    - `certifications` MemberDirectoryCertMatch[]
      - `name` string
      - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'EXPIRED'
      - `expireDate` string, date
    - `groups` MemberDirectoryGroupMatch[]
      - `name` string
      - `groupTypeName` 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

[Operation history](https://skmtc.dev/mobilecoach/apis/untitled-api/changes/api/memberships/:membershipId/members/directory/search/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.dev/mobilecoach/apis/untitled-api/revisions/df463b248fcb?raw)
