OneTrust Cookies API

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

Business capability
Privacy & Data Protection Management BC-130.50

Operations 9

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

POST /api/cmp/v1/cookies/categorized Look up categorized cookies for a domain · Get Categorized Cookies #
Ask an LLM
“What category has each cookie on my domain been assigned?”
“Can I check the categorization of specific cookie IDs on a domain?”
Tell an agent
Show the categorized cookies for domain {domain}.
Get categories for cookies {cookieIds} on {domain}.
PUT /api/cmp/v1/webscans/cookies Edit scanned cookies in bulk · Edit Cookies #
Ask an LLM
“How do I edit many existing web scan cookies at once?”
“Can I bulk-update cookies found by my website scans?”
Tell an agent
Bulk edit the existing web scan cookies.
Apply my changes to several scanned cookies in one request.
POST /api/cmp/v1/webscans/cookies Add cookies to web scans in bulk · Add Cookies #
Ask an LLM
“How do I add a batch of cookies to my web scan results?”
“Can I add cookies the scanner missed?”
Tell an agent
Bulk add these cookies to my web scan results.
Add a batch of new cookies to the scanned cookie list.
DELETE /api/cmp/v1/webscans/cookies Delete scanned cookies by ID or filter · Delete Cookies #
Ask an LLM
“How do I delete scanned cookies in bulk?”
“Can I delete cookies that match filter criteria instead of listing IDs?”
Tell an agent destructive · confirm first
Delete scanned cookies {cookieIds}.
Delete every scanned cookie matching {filters}.
POST /api/cmp/v1/webscans/languages/{language}/cookies/filter Filter scanned cookies in a given language · Get List of Cookies by Criteria #
Ask an LLM
“Which scanned cookies are third-party or long-lived in a given language view?”
“Can I filter web scan cookies by category, lifespan and domain?”
Tell an agent
Filter web scan cookies in language {language} by categories {categories}.
Find scanned cookies in {language} for domains {domains} with lifespan {lifespan}.
PUT /api/cmp/v1/webscans/{scanId}/recategorize Recategorize the cookies from a scan · Recategorize Cookies #
Ask an LLM
“How do I rerun cookie categorization for a completed website scan?”
“Can I trigger recategorization of cookies for one scan?”
Tell an agent
Recategorize the cookies from scan {scanId}.
Start cookie recategorization for web scan {scanId}.
POST /v1/cookies Create a single new cookie · Create Cookie #
Ask an LLM
“How do I create one cookie with its host, lifespan and category?”
“What do I need to supply to define a new cookie by hand?”
Tell an agent
Create cookie {cookieName} on host {host} in category {customCategoryName}.
Define a {lifespan} cookie {cookieName} for {host} with duration type {durationType} in {customCategoryName}.
PUT /v1/cookies Update a single cookie's details · Update Cookie #
Ask an LLM
“How do I change the description or category of a single cookie by its cookie ID?”
“Where do I find the cookie ID needed to update a cookie?”
Tell an agent
Update cookie {cookieId} with description {description}.
Move cookie {cookieId} to custom category {customCategoryName}.
POST /v2/cookie-reports/search Search the cookie report across domains · Get List of Cookies by Criteria #
Ask an LLM
“Can I search the cookie report for a cookie name across all my domains?”
“What cookies appear in the cookie report for a specific domain list?”
Tell an agent
Search the cookie report for {searchStr}.
Search the cookie report for domains {domains}, returning category names in language {language}.

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-cookies-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-cookies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onetrust Cookies API
  version: '1.0'
  description: 'Operations tagged Cookies across 2 of this provider''s published API definitions: onetrust-consent-preferences-cookie-consent-openapi.json, onetrust-consent-preferences-cookie-consent-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/cookiemanager
tags:


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