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 Cookies API

The Cookies APIs are used to manage cookie definitions, categories, and their properties.

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

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

This API exposes 9 operations across 6 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/cookiemanager.

9 operations 6 paths 23 schemas 1 DELETE5 POST3 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
Resource Areas
1

Authentication & Security 2

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

Paths & Operations 9

Across 6 paths, the API surfaces 9 operations — 1 DELETE, 5 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Cookies 9

The Cookies APIs are used to manage cookie definitions, categories, and their properties.

POST
/api/cmp/v1/cookies/categorized
Get Categorized Cookies
getCategorizedCookies body → 200400401403429500
PUT
/api/cmp/v1/webscans/cookies
Edit Cookies
bulkEditCookies body → 200400401403429500
POST
/api/cmp/v1/webscans/cookies
Add Cookies
bulkAddCookies body → 201400401403429500
DELETE
/api/cmp/v1/webscans/cookies
Delete Cookies
bulkDeleteCookies body → 200400401403429500
POST
/api/cmp/v1/webscans/languages/{language}/cookies/filter
Get List of Cookies by Criteria
getCookiesByFilter 7 params body → 200400401403429500
PUT
/api/cmp/v1/webscans/{scanId}/recategorize
Recategorize Cookies
recategorizeCookiesByScan 1 param → 200400401403429500
POST
/v1/cookies
Create Cookie
createNewCookie body → 201400401403404500
PUT
/v1/cookies
Update Cookie
updateCookie body → 200400401403404409429
POST
/v2/cookie-reports/search
Get List of Cookies by Criteria
getCookieReportsUsingPOST 5 params body → 200401403404429

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are CookieResponseDto (18 properties), CookieUpdateRequestDto (14 properties), CookiepediaContribsDto (12 properties), CookieEntityDto (12 properties). Each schema is shown below with its type and property counts.

PageableObject
object
6 properties
CookieUpdateRequestDto
object
14 properties 1 required
DescriptionTranslationDto
object
3 properties
DomainCookieCategoryEntityDto
object
5 properties
CategorizedCookiesRequestDto
object
3 properties
CookieCreationRequestDto
object
10 properties 3 required
BulkCookieDeletionRequest
object
6 properties 2 required
CookiepediaContribsDto
object
12 properties
PageCookieResponseDto
object
11 properties
DomainCookieCategoryRequestDto
object
4 properties
EntityActionResponseDto
object
6 properties
CookieFilters
object
6 properties
CookieRequestDto
object
2 properties
EntityActionResponseDtoCookieEntityDto
object
6 properties
CookieEntityDto
object
12 properties
DomainCookieSourceRequestDto
object
6 properties
CookieResponseDto
object
18 properties
SortObject
object
3 properties
CookieSourceRequestDto
object
2 properties
Sort
object
3 properties
CookieDetailsDto
object
Cookie details with domain level info
10 properties
PaginatedCookieResponseDTO
object
Paginated List of cookies with domain level info
7 properties
DomainCookieInfo
object
Domain level information for a cookie
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onetrust-cookies-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 Cookies 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.