---
title: "Get List of Users"
method: GET
path: "/api/access/v2/users"
tags: ["Users V2"]
---

# Get List of Users

`GET /api/access/v2/users`

Use this API to retrieve a list of all users in your account.

## Query parameters

- `page` integer
- `size` integer
- `sort` 'name,asc' | 'name,desc' | 'email,asc' | 'email,desc' | 'organizationname,asc' | 'organizationname,desc'

## Response `200`

User details retrieved successfully

- PlatformAccessManagementPagePublicOrgUserDetailsResponse
  - `content` PlatformAccessManagementPublicOrgUserDetailsResponse[] — The list of users on the current page.
    - `userId` string, uuid — The unique identifier of the user.
    - `firstName` string — The first name of the user, as it appears in their profile.
    - `lastName` string — The last name of the user, as it appears in their profile.
    - `fullName` string — The full name of the user, combining their first and last names.
    - `email` string, email — The email address associated with the user's account.
    - `accessLevels` PlatformAccessManagementPublicAccessLevelResponse[] — The access levels assigned to the user.
      - `organizationId` string, uuid — The unique identifier of the organization.
      - `organizationName` string — The name of the organization.
      - `roleId` string, uuid — The unique identifier of the role.
      - `roleName` string — The name of the role.
    - `emailConfirmed` boolean — The indicator of whether the user's email address has been confirmed.
    - `active` boolean — The indicator of whether the user account is currently active.
    - `internal` boolean — The indicator of whether the user is an internal user, meaning they are part of the organization.
    - `externalId` string — The external identifier for the user, which may be used to reference them in external systems.
    - `expirationDateTime` string, date-time — The date and time the user account will expire.
    - `disabledDateTime` string, date-time — The date and time the user account was disabled.
    - `createdDate` string, date-time — The date and time the user account was created.
    - `lastModifiedDate` string, date-time — The date and time the user account was last modified.
    - `lastLoginDate` string, date-time — The date and time the user last logged in.
    - `disabledBy` string — The name of the user who disabled the current user.
    - `defaultOrganizationName` string — The name of the default organization for the user.
    - `defaultOrganizationId` string, uuid — The unique identifier of the user's default organization.
  - `empty` boolean — The flag to check if the result list is empty.
  - `first` boolean — The flag to check if this is the first page.
  - `last` boolean — The flag to check if this is the last page.
  - `number` integer — The current page number (0-based).
  - `numberOfElements` integer — The number of elements on the current page.
  - `size` integer — The page size.
  - `totalElements` integer — The total number of elements across all pages.
  - `totalPages` integer — The total number of pages.
  - `sort` PlatformAccessManagementSortObject
    - `empty` boolean — Indicates whether the result set is empty, meaning no records were found.
    - `sorted` boolean — Indicates whether the results are sorted in a specific order, such as ascending or descending.
    - `unsorted` boolean — The indicator of whether the results are unsorted.
  - `pageable` object — Pagination information with page number (0-based, min: 0) and page size (min: 1)

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Insufficient permissions
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
