OneTrust Personal Data API

APIs used to list links to personal-data items for an inventory and update advanced attributes on those associations.

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/inventory/v2/data-categories List data categories · Get List of Data Categories #
Ask an LLM
“What data categories are defined in my OneTrust data mapping inventory?”
“Can I search data categories by part of their name?”
Tell an agent
List all data categories.
Find data categories whose name contains {filter}.
POST /api/inventory/v2/data-categories Create a data category · Create Data Category #
Ask an LLM
“How do I add a new data category to data mapping automation?”
“Can I give a new data category a description when creating it?”
Tell an agent
Create a data category named {value}.
Add a data category called {value} described as {description}.
GET /api/inventory/v2/data-categories/{id} Get a data category · Get Data Category #
Ask an LLM
“What are the details of a specific data category by its ID?”
“Where can I look up one data category's name and status?”
Tell an agent
Show data category {id}.
Get the details of data category {id}.
DELETE /api/inventory/v2/data-categories/{id} Delete a data category · Delete Data Category #
Ask an LLM
“How do I remove a data category from my data inventory?”
“Why can't I delete a data category that still has data elements assigned?”
Tell an agent destructive · confirm first
Delete data category {id}.
Remove the unused data category {id} from data mapping.
GET /api/inventory/v2/data-classifications List all data classifications · Get List of Data Classifications #
Ask an LLM
“What data classifications exist in my data mapping setup?”
“Can I get every data classification in one unpaged call under the /api path?”
Tell an agent
List every data classification without paging.
Pull the full set of data classifications from the /api inventory endpoint.
POST /api/inventory/v2/data-classifications Create a data classification · Create Data Classification #
Ask an LLM
“How do I add a new data classification like Confidential or Restricted?”
“Can a new data classification carry a description?”
Tell an agent
Create a data classification named {value}.
Add a data classification {value} with the description {description}.
GET /api/inventory/v2/data-classifications/{id} Get a data classification · Get Data Classification #
Ask an LLM
“How can I look up a single data classification by ID?”
“What details are stored for one data classification?”
Tell an agent
Show data classification {id}.
Get the details of data classification {id}.
DELETE /api/inventory/v2/data-classifications/{id} Delete a data classification · Delete Data Classification #
Ask an LLM
“How do I remove a data classification I no longer use?”
“Can I delete a data classification by its ID?”
Tell an agent destructive · confirm first
Delete data classification {id}.
Remove the data classification {id} from data mapping.
GET /api/inventory/v2/data-elements List all data elements · Get List of Data Elements #
Ask an LLM
“What data elements are tracked in my data mapping inventory?”
“Can I fetch every data element in one unpaged request under the /api path?”
Tell an agent
List every data element without paging.
Pull the full set of data elements from the /api inventory endpoint.
POST /api/inventory/v2/data-elements Create a data element · Create Data Element #
Ask an LLM
“How do I add a new data element such as email address to my inventory?”
“Can a new data element be assigned to categories and all data subjects at once?”
Tell an agent
Create a data element named {value} in categories {categories}.
Add data element {value} under {categories} with classifications {classifications}.
GET /api/inventory/v2/data-elements/{id} Get a data element · Get Data Element #
Ask an LLM
“How do I look up one data element by its ID?”
“Which categories and classifications does a given data element have?”
Tell an agent
Show data element {id}.
Get the details of data element {id}.
DELETE /api/inventory/v2/data-elements/{id} Delete a data element · Delete Data Element #
Ask an LLM
“How do I remove a data element from data mapping?”
“Can I delete a data element by ID?”
Tell an agent destructive · confirm first
Delete data element {id}.
Remove the data element {id} from my inventory.
GET /api/inventory/v2/data-subjects List data subject types · Get List of Data Subjects #
Ask an LLM
“What data subject types like employees or customers are defined in data mapping?”
“Can I list data subjects related to a specific inventory object?”
Tell an agent
List all data subject types in data mapping.
Find data subject types whose name contains {filter}.
POST /api/inventory/v2/data-subjects Create a data subject type · Create Data Subject #
Ask an LLM
“How do I add a new data subject type such as contractors to data mapping?”
“Can I describe a data subject type when I create it?”
Tell an agent
Create a data subject type named {value}.
Add data subject type {value} described as {description}.
GET /api/inventory/v2/data-subjects/{id} Get a data subject type · Get Data Subject #
Ask an LLM
“How do I view one data subject type by its ID?”
“What is stored for a particular data subject type in data mapping?”
Tell an agent
Show data subject type {id}.
Get the details of data subject type {id}.
DELETE /api/inventory/v2/data-subjects/{id} Delete a data subject type · Delete Data Subject #
Ask an LLM
“How do I remove a data subject type from data mapping?”
“Can I delete a data subject type by its ID?”
Tell an agent destructive · confirm first
Delete data subject type {id}.
Remove the data subject type {id} from my inventory.
GET /inventory/v2/data-classifications Page through data classifications · Get List of Data Classifications #
Ask an LLM
“How do I page through data classifications on the legacy /inventory path?”
“Which data classifications are on a given results page?”
Tell an agent
Get page {page} of data classifications from the legacy inventory path.
Show data classifications page {page} with {size} per page.
GET /inventory/v2/data-elements Page through data elements · Get List of Data Elements #
Ask an LLM
“How do I page through data elements on the legacy /inventory path?”
“Which data elements appear on a given results page?”
Tell an agent
Get page {page} of data elements from the legacy inventory path.
Show data elements page {page} with {size} per page.

Documentation

📖
Documentation
https://developer.onetrust.com/onetrust/reference/attribute-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/activity-log
📖
Documentation
https://developer.onetrust.com/onetrust/reference/preferences-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/banner
📖
Documentation
https://developer.onetrust.com/onetrust/reference/consent-receipts
📖
Documentation
https://developer.onetrust.com/onetrust/reference/applications
📖
Documentation
https://developer.onetrust.com/onetrust/reference/categorizations
📖
Documentation
https://developer.onetrust.com/onetrust/reference/domain-data
📖
Documentation
https://developer.onetrust.com/onetrust/reference/preferences
📖
Documentation
https://developer.onetrust.com/onetrust/reference/mobile-app-data
📖
Documentation
https://developer.onetrust.com/onetrust/reference/privacy-notice-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/collection-points
📖
Documentation
https://developer.onetrust.com/onetrust/reference/catalog-search-v1
📖
Documentation
https://developer.onetrust.com/onetrust/reference/classification
📖
Documentation
https://developer.onetrust.com/onetrust/reference/custom-scan
📖
Documentation
https://developer.onetrust.com/onetrust/reference/carbon-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/audit-records
📖
Documentation
https://developer.onetrust.com/onetrust/reference/bulk-export
📖
Documentation
https://developer.onetrust.com/onetrust/reference/attachments
📖
Documentation
https://developer.onetrust.com/onetrust/reference/system-credentials
📖
Documentation
https://developer.onetrust.com/onetrust/reference/inventory-relationships-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/model-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/tasks
📖
Documentation
https://developer.onetrust.com/onetrust/reference/groups-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/assessment-actions
📖
Documentation
https://developer.onetrust.com/onetrust/reference/inventory
📖
Documentation
https://developer.onetrust.com/onetrust/reference/inventory-1
📖
Documentation
https://developer.onetrust.com/onetrust/reference/drop-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/incidents
📖
Documentation
https://developer.onetrust.com/onetrust/reference/document-controller
📖
Documentation
https://developer.onetrust.com/onetrust/reference/audits
📖
Documentation
https://developer.onetrust.com/onetrust/reference/initiatives
📖
Documentation
https://developer.onetrust.com/onetrust/reference/document-attachments
📖
Documentation
https://developer.onetrust.com/onetrust/reference/issues
📖
Documentation
https://developer.onetrust.com/onetrust/reference/control-implementations
📖
Documentation
https://developer.onetrust.com/onetrust/reference/training
📖
Documentation
https://developer.onetrust.com/onetrust/reference/contracts

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/onetrust:onetrust-personal-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

onetrust-personal-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onetrust Personal Data API
  version: '1.0'
  description: 'Operations tagged Personal Data across 2 of this provider''s published API definitions: onetrust-privacy-automation-data-mapping-automation-openapi.json, onetrust-privacy-automation-data-mapping-automation-swagger-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{hostname}
  variables:
    hostname:
      default: hostname
      description: The OneTrust hostname such as app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, app-apac.onetrust.com, trial.onetrust.com, or uat.onetrust.com.
- url: https://customer.my.onetrust.com/api
tags:


# --- truncated at 32 KB (63 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-personal-data-api-openapi.yml