OneTrust Scans API

The Scans APIs are used to manage website cookie scanning operations and results.

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

GET /api/cmp/v1/webscans List websites in the cookie scanner · Get List of Websites #
Ask an LLM
“Which websites are set up in the cookie scanner?”
“Can I search scanned websites by name for a child organization?”
Tell an agent
List websites in the scanner.
Find scanned websites matching {searchStr} for organization {externalOrgId}.
POST /api/cmp/v1/webscans Start cookie scans for domains · Scan Websites #
Ask an LLM
“How do I kick off a cookie scan of my website?”
“Can I scan several domains at once for an organization?”
Tell an agent
Start scans for the given domains.
Scan websites for organization {externalOrgId}.
POST /api/cmp/v1/webscans/archive Archive website scans · Archive Scans #
Ask an LLM
“Can I archive old cookie scans I no longer need?”
“Is there a way to move scans out of the active list?”
Tell an agent
Archive the specified scans.
Move these completed scans to the archive.
GET /api/cmp/v1/webscans/domains/{domainId}/scans List scans for a domain · Get List of Scans by Domain #
Ask an LLM
“What scans have run on a particular domain?”
“Can I filter a domain's scans by status or date range?”
Tell an agent
List scans for domain {domainId}.
Show scans of domain {domainId} with status {status} between {startDate} and {endDate}.
GET /api/cmp/v1/webscans/domains/{domainId}/scans/{scanId}/scandelta List cookies added or removed since last scan · Get List of Added or Removed Cookies #
Ask an LLM
“Which cookies appeared or disappeared on my site since the previous scan?”
“Can I compare two consecutive cookie scans?”
Tell an agent
Show cookies added or removed in scan {scanId} of domain {domainId}.
Compare scan {scanId} with the previous one for domain {domainId}.
GET /api/cmp/v1/webscans/domains/{domainId}/scans/{scanId}/scanresults Get detailed scan results · Get Scan Results #
Ask an LLM
“What cookies, tags and forms did a scan find on my website?”
“Can I pull scan results for just one entity type, like forms?”
Tell an agent
Get {entityType} results for scan {scanId} on domain {domainId}.
List the {entityType} found by scan {scanId} of domain {domainId}, page {page}.
GET /api/cmp/v1/webscans/domains/{domainId}/scans/{scanId}/summary Get a scan's summary counts · Get Scan Result Summary #
Ask an LLM
“How many cookies and tags did a scan find in total?”
“Is there a quick summary of a website scan's findings?”
Tell an agent
Summarize scan {scanId} for domain {domainId}.
Give me the entity counts from scan {scanId} on domain {domainId}.
POST /api/cmp/v1/webscans/status Check status of scans · Get Scan Statuses #
Ask an LLM
“Are my website scans still running or finished?”
“Can I check several scans' statuses in one call?”
Tell an agent
Check the status of the specified scans.
Tell me whether these scans have completed.
PUT /api/cmp/v1/webscans/{scanId}/cancel Cancel a website scan · Cancel Scan #
Ask an LLM
“Can I stop a cookie scan that is in progress?”
“What happens if I cancel a running scan?”
Tell an agent destructive · confirm first
Cancel scan {scanId}.
Stop the running website scan {scanId}.

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-scans-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-scans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Consent & Preferences - Cookie Consent Scans API
  version: '1.0'
  contact:
    name: OneTrust Support
    url: https://my.onetrust.com/s/contactsupport
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  description: The Cookie Consent APIs are used to integrate external systems and streamline the flow of data with Cookie Consent in the OneTrust Platform.
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.
tags:


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