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 Privacy Automation — Data Mapping Automation (Swagger)

The Privacy Automation - Data Mapping Automation (Swagger) API from OneTrust — 4 operation(s) docume nted on the OneTrust Developer Portal.

OneTrust Privacy Automation — Data Mapping Automation (Swagger) is one of 37 APIs that OneTrust publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 4 operations across 4 paths, organized into 3 resource areas, and defines 63 schemas. It is described by OpenAPI 3.0.0, at version 2.0.

Requests are made against a single base URL, https://customer.my.onetrust.com/api.

4 operations 4 paths 63 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0
Base URL
https://customer.my.onetrust.com/api
Authentication
OAuth 2.0
Resource Areas
3

Authentication & Security 1

OneTrust Privacy Automation — Data Mapping Automation (Swagger) declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the clientCredentials flow, exposing 2 scopes. By default, every request must be authenticated.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. They span 3 resource areas: Personal Data, Inventory Schema, Inventory. Each is listed below with its method, path, parameters, and response codes.

Personal Data 2
GET
/inventory/v2/data-classifications
Get List of Data Classifications
listAllDataClassificationsUsingGET 2 params → 200401403404429
GET
/inventory/v2/data-elements
Get List of Data Elements
listAllDataElementsUsingGET 2 params → 200401403404429
Inventory Schema 1
GET
/inventory/v2/schemas/{type}
Get Inventory Schema
getSchemaUsingGET_1 2 params → 200401403404429
Inventory 1
GET
/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}
Get Attribute Options
2 params → 200429

Schemas 63

The contract defines 63 schemas that model the data the API accepts and returns. The most detailed are AttributeResponse (10 properties), OneTrustPage (7 properties), DataElementDetailedResponse (7 properties), UpsertInventoryDto (7 properties). Each schema is shown below with its type and property counts.

AttributeResponse
object
10 properties
AttributeDetailResponse
object
2 properties
AttributeValueResponse
object
5 properties
ListAttributeValueResponse
array
AttributeValueCreateRequest
object
2 properties
ListAttributeValueCreateRequest
array
AttributeCreateRequest
object
6 properties 3 required
BulkAttributeStatusUpdateRequest
object
1 property
Response
object
2 properties
Error
object
4 properties
ErrorSource
object
2 properties
CreateAssetDto
object
3 properties
CreatePaDto
object
2 properties
CreateVendorDto
object
3 properties
CreateEntityDto
object
3 properties
CreateInventoryDto
object
6 properties
InventoryFilterRequest
object
1 property
CriteriaDefinition
object
3 properties 3 required
DataCategoryCreateUpdateRequest
object
2 properties
DataCategoryResponse
object
5 properties
DataClassificationCreateUpdateRequest
object
2 properties
DataClassificationResponse
object
5 properties
DataElementCreateRequest
object
4 properties
DataElementDetailedResponse
object
7 properties
DataElementResponse
object
5 properties
DataSubjectCreateUpdateRequest
object
2 properties
DataSubjectResponse
object
5 properties
Metadata
object
1 property
ObjectReference
object
2 properties
OneTrustMetadata
object
1 property
OneTrustPage
object
7 properties
OneTrustResponseListPersonalDataLinkResponse
object
3 properties
OneTrustSort
object
2 properties
OtPage
object
6 properties
PersonalDataLinkRequest
object
2 properties
PersonalDataLinkResponse
object
4 properties
ResponseDataCategoryResponse
object
3 properties
ResponseDataClassificationResponse
object
3 properties
ResponseDataElementDetailedResponse
object
3 properties
ResponseDataSubjectResponse
object
3 properties
SchemaSummaryDto
object
5 properties
UpdateInventoryDto
object
Inventory Update Request
3 properties
UpsertInventoryDto
object
Inventory Upsert Request
7 properties
InventoryStatusRequest
object
1 property
InventoryValue
object
3 properties
InventoryAssociationRequest
object
1 property 1 required
InventoryAssociationCreateRequest
object
2 properties 1 required
InventoryAssociationRemoveRequest
object
1 property
BaseInventoryAssociationDto
object
2 properties
InventoryListResponse
object
2 properties
OneTrustResponseListDataCategoryResponse
object
3 properties
OneTrustResponseListDataClassificationResponse
object
3 properties
OneTrustResponseListDataSubjectResponse
object
3 properties
OneTrustResponseListDataElementDetailedResponse
object
3 properties
AttributeValueUpdateRequest
object
2 properties
InventoryControlImplementationsRequest
object
Defines details of a Control to be added to Inventory.
2 properties 1 required
LinkRequestDto
object
6 properties 4 required
ContextualLinkUpdateRequest
object
2 properties
PersonalDataRequest
object
2 properties
EntityIdAndType
object
2 properties 2 required
BasicEntityIdAndName
object
2 properties 2 required
InventoryAttachmentRequest
object
2 properties 1 required
ListInventoryAttachmentRequest
array

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onetrust-privacy-automation-data-mapping-automation-swagger-openapi.json Raw ↑

Other APIs OneTrust publishes across the network.

OneTrust AI Governance — AI Governance
OneTrust Platform — Global Activity
OneTrust Consent & Preferences — Consent Interfaces
OneTrust Consent & Preferences — Consent Management Platform (CMP)
OneTrust Consent & Preferences — Consent Receipts
OneTrust Consent & Preferences — Cookie Consent
OneTrust Consent & Preferences — Cookie Consent (Swagger)
OneTrust Consent & Preferences — Cookie Domain Data
OneTrust Consent & Preferences — Cross-Device Consent
OneTrust Consent & Preferences — Mobile App Consent
OneTrust Consent & Preferences — Policy & Notice Management
OneTrust Consent & Preferences — Universal Consent & Preference Management (OAS)
Where this information came from

This is an independent, third-party profile of OneTrust Privacy Automation — Data Mapping Automation (Swagger), 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.