---
title: "Create Custom Index"
method: POST
path: "/api/consentmanager/v1/custom-indexes"
tags: ["Custom Index Management"]
---

# Create Custom Index

`POST /api/consentmanager/v1/custom-indexes`

Use this API to trigger the creation of a custom search index for data elements. The response will include the `runId` that can be used to query the current creation status using the [Get Index Creation Status API](https://developer.onetrust.com/onetrust/reference/getindexcreationstatus).

> 🗒 Things to Know
> 
> - Each account is limited to only one custom search index.

## Request body

- ConsentPreferencesUniversalConsentPreferenceManagPipelineTriggerRequest
  - `operationName` 'CREATE_DATA_ELEMENT_SEARCH_INDEX', required — The parameter representing the operation to be performed. Supported value is CREATE_DATA_ELEMENT_SEARCH_INDEX.
  - `parameters` object, required — Map of parameters required for the index creation. dataElementName parameter is mandatory for operation CREATE_DATA_ELEMENT_SEARCH_INDEX

## Response `200`

Index creation successfully triggered

- ConsentPreferencesUniversalConsentPreferenceManagPipelineTriggerResponse
  - `runId` string — Unique identifier for the pipeline run
  - `status` string — Status of the pipeline trigger

## Other responses

- `400` — Invalid request parameters
- `401` — Unauthorized access
- `403` — Insufficient permissions to create custom indexes
- `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/revisions/21de3aa0b170/schema)
