How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OneTrust Personal Data API

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

OneTrust Personal Data API is one of 138 APIs that OneTrust publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Personal Data. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 18 operations across 10 paths, and defines 23 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://{hostname}, https://customer.my.onetrust.com/api.

18 operations 10 paths 23 schemas 4 DELETE10 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.onetrust.com
Authentication
OAuth 2.0, OAuth 2.0
Resource Areas
1

Authentication & Security 2

OneTrust Personal Data API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (OAUTH2) using the clientCredentials flow, exposing 3 scopes. It supports OAuth 2.0 (oauth2) using the clientCredentials flow, exposing 2 scopes.

Paths & Operations 18

Across 10 paths, the API surfaces 18 operations — 4 DELETE, 10 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Personal Data 18

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

GET
/api/inventory/v2/data-categories
Get List of Data Categories
getDataCategoriesByPartialNameUsingGET 4 params → 200400401403404429500
POST
/api/inventory/v2/data-categories
Create Data Category
createDataCategoryUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-categories/{id}
Get Data Category
getDataCategoryUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-categories/{id}
Delete Data Category
deleteDataCategoryUsingDELETE 1 param → 204400401403404429500
GET
/api/inventory/v2/data-classifications
Get List of Data Classifications
listAllDataClassificationsUsingGET → 200400401403404429500
POST
/api/inventory/v2/data-classifications
Create Data Classification
createDataClassificationUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-classifications/{id}
Get Data Classification
getDataClassificationUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-classifications/{id}
Delete Data Classification
deleteDataClassificationUsingDELETE 1 param → 204400401403404429500
GET
/api/inventory/v2/data-elements
Get List of Data Elements
listAllDataElementsUsingGET → 200400401403404429500
POST
/api/inventory/v2/data-elements
Create Data Element
createDataElementUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-elements/{id}
Get Data Element
getDataElementUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-elements/{id}
Delete Data Element
deleteDataElementUsingDELETE 1 param → 204400401403404429500
GET
/api/inventory/v2/data-subjects
Get List of Data Subjects
getDataSubjectsByPartialNameUsingGET 7 params → 200400401403404429500
POST
/api/inventory/v2/data-subjects
Create Data Subject
createDataSubjectUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-subjects/{id}
Get Data Subject
getDataSubjectUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-subjects/{id}
Delete Data Subject
deleteDataSubjectUsingDELETE 1 param → 204400401403404429500
GET
/inventory/v2/data-classifications
Get List of Data Classifications
getInventoryV2DataClassifications 2 params → 200401403404429
GET
/inventory/v2/data-elements
Get List of Data Elements
getInventoryV2DataElements 2 params → 200401403404429

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are DataElementDetailedResponse (11 properties), DataElementCreateRequest (9 properties), OneTrustPage_2 (7 properties), OneTrustPage (7 properties). Each schema is shown below with its type and property counts.

OneTrustResponseListDataCategoryResponse
object
3 properties
BasePersonalDataResponse
object
5 properties 3 required
DataElementDetailedResponse
object
11 properties 4 required
OneTrustMetadata
object
1 property
DataCategoryCreateUpdateRequest
object
5 properties 1 required
OneTrustPage
object
7 properties
DataClassificationResponse
object
6 properties 3 required
OneTrustResponseListDataSubjectResponse
object
3 properties
DataSubjectCreateUpdateRequest
object
5 properties 1 required
DataClassificationCreateUpdateRequest
object
5 properties 1 required
DataSubjectResponse
object
7 properties 3 required
DataCategoryResponse
object
6 properties 3 required
OneTrustSort
object
2 properties
DataElementCreateRequest
object
9 properties 2 required
ObjectReference
object
3 properties
OneTrustResponseListDataElementDetailedResponse
object
3 properties
OneTrustMetadata_2
object
1 property
DataElementDetailedResponse_2
object
7 properties
OneTrustPage_2
object
7 properties
DataClassificationResponse_2
object
5 properties
DataCategoryResponse_2
object
5 properties
OneTrustSort_2
object
2 properties
OneTrustResponseListDataClassificationResponse
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onetrust-personal-data-api-openapi.yml Raw ↑

Other APIs OneTrust publishes across the network.

OneTrust Activity Log API
OneTrust Applications API
OneTrust Assessment Actions API
OneTrust Assessment Management API
OneTrust Assessments API
OneTrust Attachments API
OneTrust Attachments V4 API
OneTrust Attribute Management API
OneTrust Audit Records API
OneTrust Audits API
OneTrust Banner API
OneTrust Bulk Export API
Where this information came from

This is an independent, third-party profile of OneTrust Personal Data API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.