---
title: "Returns a list of People/Member/Non-Member IDs, based on UserType."
method: GET
path: "/Ams/{ClientID}/PeopleIDs"
tags: ["Ams"]
---

# Returns a list of People/Member/Non-Member IDs, based on UserType.

`GET /Ams/{ClientID}/PeopleIDs`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/{ClientID}/PeopleIDs`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/:ClientID/PeopleIDs/get.ts> (a function with typed inputs; its response is checked against the schema)

May be optionally filtered by Timestamp, GroupCodes, or GroupNames. Required parameters are PageSize, PageNumber, and UserType. Provided for data synchronization purposes it would typically be used in conjunction with subsequent calls to /Ams/{ClientID}/People (GET) for each ID returned.

## Path parameters

- `ClientID` integer, required

## Query parameters

- `UserType` 'All' | 'Member' | 'NonMember'
- `Timestamp` string, date-time
- `ProfileID` integer
- `GroupCodes` string
- `GroupNames` string
- `PageSize` integer
- `PageNumber` integer
- `UsingRedis` boolean
- `AppInitTime` string, date-time
- `ServerID` string
- `ResponseStatus` string
- `BypassCache` boolean
- `DateCached` string, date-time
- `Device` string

## Response `200`

Success

- PeopleIDsResponse: PeopleIDsResponse
  - `IDList` integer[]
  - `UserType` 'All' | 'Member' | 'NonMember'
  - `Timestamp` string, date-time
  - `ProfileID` integer
  - `GroupCodes` string[]
  - `GroupNames` string[]
  - `PageSize` integer
  - `PageNumber` integer
  - `UsingRedis` boolean
  - `AppInitTime` string, date-time
  - `ServerID` string
  - `ClientID` integer
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
