---
title: "Get List of User Groups"
method: GET
path: "/api/access/v2/user-groups"
tags: ["User Groups V2"]
---

# Get List of User Groups

`GET /api/access/v2/user-groups`

Use this API to retrieve a list of user groups, with support for pagination and filtering.

## Query parameters

- `page` integer
- `size` integer
- `sort` 'name,asc' | 'name,desc' | 'description,asc' | 'description,desc' | 'createdDate,asc' | 'createdDate,desc' | 'lastModifiedDate,asc'
- `filters` string

## Response `200`

User groups retrieved successfully

- PlatformAccessManagementPagePublicUserGroupResponse
  - `content` PlatformAccessManagementPublicUserGroupResponse[] — The list of user groups on the current page.
    - `id` string, uuid — The internal identifier of the user group.
    - `name` string — The name of the user group.
    - `description` string — The description of the user group.
    - `createdBy` string, uuid — The unique identifier of the user who created the user group.
    - `createdDate` string, date-time — The timestamp of when the user group was created.
    - `lastModifiedBy` string, uuid — The unique identifier of the user who last modified the user group.
    - `lastModifiedDate` string, date-time — The timestamp of when the user group was last modified.
  - `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 — The 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)
