---
title: "Get List of Data Classifications"
method: GET
path: "/inventory/v2/data-classifications"
tags: ["Personal Data"]
---

# Get List of Data Classifications

`GET /inventory/v2/data-classifications`

Use this API to retrieve a list of all existing Data Classifications.

### Example Request

`GET https://{hostname}/api/inventory/v2/data-classifications`

`GET https://trial.onetrust.com/api/inventory/v2/data-classifications`

## Query parameters

- `page` string, required
- `size` string

## Response `200`

OK

- OneTrustResponseListDataClassificationResponse
  - `data` DataClassificationResponse[]
    - `description` string — Description of the Data Classification.
    - `descriptionKey` string — Unique key for description of the Data Classification.
    - `id` string — Unique Id of the Data Classification.
    - `name` string — Name of the Data Classification.
    - `nameKey` string — Unique key for the name of the Data Classification.
  - `errors` object[]
  - `meta` OneTrustMetadata
    - `page` OneTrustPage
      - `first` boolean — Flag to check if the result page is the first page.
      - `last` boolean — Flag to check if the result page is the last page.
      - `number` integer — Number assigned to the page.
      - `size` integer — Number of records in each page.
      - `sort` OneTrustSort[]
        - `direction` 'ASC' | 'DESC'
        - `property` string
      - `totalElements` integer — Total number of elements in a page.
      - `totalPages` integer — Total number of pages in the result.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).

---

[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)
