---
title: "Get Inventory Identifiers"
method: POST
path: "/api/inventory/v2/inventories/{schemaName}/identifiers"
tags: ["inventory-management-controller"]
---

# Get Inventory Identifiers

`POST /api/inventory/v2/inventories/{schemaName}/identifiers`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/inventory/v2/inventories/{schemaName}/identifiers`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `INVENTORY`, `INVENTORY_READ`, `INVENTORY_WRITE`

Use this API to retrieve a paginated list of inventory identifiers for a given type with advanced filtering capabilities.

### Example Request

`POST https://{hostname}/api/inventory/v2/inventories/{type}/identifiers`

`POST https://trial.onetrust.com/api/inventory/v2/inventories/vendors/identifiers`

## Path parameters

- `schemaName` string, required

## Query parameters

- `pageable` Pageable, required
  - `page` integer
  - `size` integer
  - `sort` string[]
- `orgGroupId` string, uuid
- `traversal` string
- `filterById` boolean
- `generator` string
- `searchText` string

## Request body

- InventoryFilterRequest
  - `filterCriteria` object: A map of filter criteria, where the key is a logical operator (AND, OR) and the value is a list of criteria definitions. This allows for building complex queries.
  - `searchText` string: A simple text string to search across multiple relevant fields of an inventory item. Used for quick search functionality.
  - `searchOnNumber` boolean: Indicates if the searchText should specifically target numeric fields. Default is false.

## Response `200`

OK - Successfully retrieved inventory identifiers.

- string

## Other responses

- `400`: Bad Request
- `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).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation/revisions/daead5d9fad6?raw)
