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 Data Subjects API

The Data Subjects APIs are used to manage individuals whose data is being processed.

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

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

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

Requests are made against a single base URL, https://{hostname}.

4 operations 4 paths 27 schemas 2 GET1 POST1 PUT

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, OAuth 2.0
License
Resource Areas
1

Authentication & Security 3

OneTrust Data Subjects API declares 3 security schemes for authenticating requests. It supports OAuth 2.0 (ConsentPreferences-UniversalConsentPreferenceManag_OAUTH2) using the clientCredentials flow, exposing 2 scopes. It supports OAuth 2.0 (ConsentAPI_OAUTH2) using the clientCredentials flow, exposing 2 scopes. It supports OAuth 2.0 (DSPreferneceCache_OAUTH2) using the clientCredentials flow, exposing 2 scopes.

Paths & Operations 4

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

Data Subjects 4

The Data Subjects APIs are used to manage individuals whose data is being processed.

POST
/api/consentmanager/v1/datasubjects/dataelements
Update Data Subject's Data Elements
createOrUpdateDataSubjectUsingPOST 1 param body → 200201400401403429500
PUT
/api/consentmanager/v1/datasubjects/merge
Deduplicate Data Subjects
mergeDataSubjectsUsingPOST body → 200400401403429500
GET
/api/consentmanager/v1/datasubjects/profiles
Get List of Data Subjects
getDataSubjectProfileUsingGET 21 params → 200400401403429500
GET
/api/consentmanager/v1/datasubjects/purposesdeprecated
Get List of Purposes for a Data Subject
getDataSubjectPurposesByIdentifierUsingGET 5 params → 200201400401403429500

Schemas 27

The contract defines 27 schemas that model the data the API accepts and returns. The most detailed are ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfilePurposeDto (22 properties), ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfileDto (14 properties), ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfileSliceDto (9 properties), ConsentPreferences-UniversalConsentPreferenceManag_TransactionInformation (8 properties). Each schema is shown below with its type and property counts.

ConsentPreferences-UniversalConsentPreferenceManag_TransactionInformation
object
8 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectGeolocationDto
object
6 properties
ConsentPreferences-UniversalConsentPreferenceManag_ConsentAttachmentResponseDto
object
2 properties
ConsentPreferences-UniversalConsentPreferenceManag_PurposesGroupEffectiveStatusDto
object
2 properties
ConsentPreferences-UniversalConsentPreferenceManag_PurposeSimpleDetailsDtoV1
object
2 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectByPurposeInformation
object
2 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectSourceDto
object
5 properties
ConsentPreferences-UniversalConsentPreferenceManag_PreferenceDetail
object
2 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfilePurposeDto
object
22 properties
ConsentPreferences-UniversalConsentPreferenceManag_SortObject
object
3 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfileCustomPreferenceOptionDto
object
3 properties 3 required
ConsentPreferences-UniversalConsentPreferenceManag_SimpleNameVersionDtoV1
object
4 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectElementDTO
object
4 properties 1 required
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfileCustomPreferenceDto
object
3 properties 2 required
ConsentPreferences-UniversalConsentPreferenceManag_PageableObject
object
6 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectDetailDTO
object
7 properties 2 required
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfileSliceDto
object
9 properties
ConsentPreferences-UniversalConsentPreferenceManag_AdditionalIdInvalidScenariosDto
object
2 properties
ConsentPreferences-UniversalConsentPreferenceManag_CollectionPointNoticeWithVersionDtoV1
object
8 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectElementDto
object
4 properties 1 required
ConsentPreferences-UniversalConsentPreferenceManag_AdditionalIdentifierMergeRequest
object
4 properties 1 required
ConsentPreferences-UniversalConsentPreferenceManag_PurposeInformation
object
4 properties
ConsentPreferences-UniversalConsentPreferenceManag_TopicInformation
object
2 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectCreateDTO
object
3 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfileDto
object
14 properties
ConsentPreferences-UniversalConsentPreferenceManag_DataSubjectProfileTopic
object
3 properties 3 required
ConsentPreferences-UniversalConsentPreferenceManag_PurposeNoteDto
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onetrust-data-subjects-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 Data Subjects 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.