# OneTrust Consent & Preferences — Cookie Consent (Swagger)

**Canonical:** https://apis.io/apis/onetrust/consent-and-preferences-cookie-consent-swagger/  
**Provider:** OneTrust — https://apis.io/providers/onetrust/  
**Base URL:** https://customer.my.onetrust.com/api/cookiemanager  
**Documentation:** https://developer.onetrust.com/onetrust/reference/categorizations

OneTrust Consent & Preferences — Cookie Consent (Swagger) is one of 37 APIs that [OneTrust](https://apis.io/providers/onetrust/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Categorizations, Cookies, Domains, Scripts, and Websites V2. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The Consent & Preferences - Cookie Consent (Swagger) API from OneTrust — 11 operation(s) documented on the OneTrust Developer Portal.

## Operations (11)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/script-integration/{domainId}/downloadscriptv2` | Download Script File |
| POST | `/v2/websites` | Add Websites to Scan |
| GET | `/v2/websites` | Get List of Websites |
| GET | `/v2/websites/scripts` | Get Script for Website |
| PUT | `/v2/websites/publish` | Publish Script to Website |
| POST | `/v1/cookies` | Create Cookie |
| PUT | `/v1/cookies` | Update Cookie |
| POST | `/v2/categorize` | Categorize Cookies by Domain |
| POST | `/v2/categorizewithids` | Categorize Cookies by Domain and Cookie ID |
| POST | `/v1/domains/{domainId}/domaingroup` | Create or Update Domain Group |
| POST | `/v2/cookie-reports/search` | Get List of Cookies by Criteria |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-consent-preferences-cookie-consent-swagger-openapi.json
- **Documentation** — https://developer.onetrust.com/onetrust/reference/categorizations
- **Overlay** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/overlays/onetrust-consent-and-preferences-cookie-consent-swagger-overlay.yaml

## Other OneTrust APIs (12)

- [OneTrust AI Governance — AI Governance](https://apis.io/apis/onetrust/ai-governance-ai-governance/)
- [OneTrust Platform — Global Activity](https://apis.io/apis/onetrust/platform-global-activity/)
- [OneTrust Consent & Preferences — Consent Interfaces](https://apis.io/apis/onetrust/consent-and-preferences-consent-interfaces/)
- [OneTrust Consent & Preferences — Consent Management Platform (CMP)](https://apis.io/apis/onetrust/consent-and-preferences-consent-management-platform-cmp/)
- [OneTrust Consent & Preferences — Consent Receipts](https://apis.io/apis/onetrust/consent-and-preferences-consent-receipts/)
- [OneTrust Consent & Preferences — Cookie Consent](https://apis.io/apis/onetrust/consent-and-preferences-cookie-consent/)
- [OneTrust Consent & Preferences — Cookie Domain Data](https://apis.io/apis/onetrust/consent-and-preferences-cookie-domain-data/)
- [OneTrust Consent & Preferences — Cross-Device Consent](https://apis.io/apis/onetrust/consent-and-preferences-cross-device-consent/)
- [OneTrust Consent & Preferences — Mobile App Consent](https://apis.io/apis/onetrust/consent-and-preferences-mobile-app-consent/)
- [OneTrust Consent & Preferences — Policy & Notice Management](https://apis.io/apis/onetrust/consent-and-preferences-policy-and-notice-management/)
- [OneTrust Consent & Preferences — Universal Consent & Preference Management (OAS)](https://apis.io/apis/onetrust/consent-and-preferences-universal-consent-and-preference-management-oas/)
- [OneTrust Data Use Governance — Data Catalog](https://apis.io/apis/onetrust/data-use-governance-data-catalog/)

## Tags

Categorizations, Cookies, Domains, Scripts, Websites V2

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/onetrust/consent-and-preferences-cookie-consent-swagger/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/onetrust/.
