We've detected that you are using the Brave browser. This site does not display correctly when the Brave Shields are enabled. Please set your Shields to Down.

OneTrust Internal Users: DO NOT MAKE ANY DIRECT CHANGES!

All documentation updates should be made by submitting a DOC ticket, and changes to the APIs should be made by opening a merge request (MR) in the SARCH (sandbox) or DX (production) GitLab Repos.

Jump to Content
OneTrust Developer PortalmyOneTrustDeveloper ForumTechnology Partners
SDK ReferenceRecipesAPI ReferenceChangelog
myOneTrustDeveloper ForumTechnology PartnersLog InOneTrust Developer Portal
SDK Reference
Log In
SDK ReferenceRecipesAPI ReferenceChangelog

Getting Started

  • OneTrust SDK Reference
  • Quick Start Guide: SDKs
    • SDK Overview
      • Scanning and Categorizing SDKs
      • How App Scanner Works
      • Add and Scan Apps
      • Scan Apps via API
      • View and Categorize Scan Results
      • Publish Changes
    • Mobile & OTT/CTV SDKs
  • Quick Start Guide: Website Scripts
  • OneTrust Hands-On Lab

Additional Resources

  • Managing known users
    • Cross Domain and Cross Device Consent
    • Unified Profile
  • Data Discovery Connector SDK
  • SDK Data APIs
    • TCF 2.2 API
  • Web Form Collection Point JavaScript SDK
    • Common SDK Methods (External web form)
    • Trigger Collection Points
    • Embedded web forms methods and events
    • Command queue for embedded web forms
  • Web SDK (Deprecated)

SDK Reference

  • OneTrust Next Generation CMP SDKs
  • Android SDK
    • Getting Started
      • Sample App
      • Download SDK
      • Adding SDK to App
      • Initialize SDK
      • Display User Interfaces
      • Customize User Interfaces
      • When Consent Changes
    • Additional Resources
      • Multi Profile Consent
      • Passing Consent to WebView
      • SDK Logging
      • Google Advertising ID
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • CNIL Continue Without Accepting
      • Proxying SDK Network Calls
      • Google Consent Mode
      • API Reference
      • Universal Consent Purposes
    • Changelog
  • iOS & tvOS SDK
    • Getting Started
      • Sample App
      • Download the SDK
      • Add SDK to App
      • Initialize SDK
      • Display User Interfaces
      • Customize User Interfaces
      • When Consent Changes
    • Additional Resources
      • Multi Profile Consent
      • Passing Consent to WebView
      • SDK Logging
      • App Tracking Transparency
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • CNIL Continue Without Accepting (COPY)
      • Proxying SDK Network Calls
      • Google Consent Mode
      • API Reference [ Will be deleted]
      • Universal Consent Purposes
    • API Reference
      • OneTrust SDK Helpers
      • OneTrust UI Helpers
      • OneTrust SDK Additional Helpers
      • Groups (Categories/Purposes) Helpers
      • SDK List Helpers
      • Vendors Helpers
      • Multi-Profile
      • Universal Consent Purposes Helpers
      • Prompts
      • Proxy
      • Additional Information
    • Changelog
  • iOS & tvOS SDK (Legacy)
    • Getting Started
      • Sample App
      • Download the SDK
      • Add SDK to App
      • Initialize SDK
      • Display User Interfaces
      • Customize User Interfaces
      • When Consent Changes
    • Additional Resources
      • Multi Profile Consent
      • Passing Consent to WebView
      • SDK Logging
      • App Tracking Transparency
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • CNIL Continue Without Accepting
      • Proxying SDK Network Calls
      • Google Consent Mode
      • API Reference
      • Universal Consent Purposes
    • Changelog
  • Roku SDK
    • Getting Started
      • Download the SDK
      • Add SDK to App
      • Initialize the SDK
      • Display User Interfaces
      • When Consent Changes
    • Additional Resources
      • Multi Profile Consent
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • Cross Device and Cross Domain Consent
      • API Reference
  • Roku SDK (Legacy)
    • Getting Started
      • Download the SDK
      • Add SDK to App
      • Initialize the SDK
      • Display User Interfaces
      • When Consent Changes
    • Additional Resources
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • Cross Device and Domain Consent - Roku
    • Changelog
  • HTML5 SDK - Tizen and WebOS (Legacy)
    • Getting Started
      • Download SDK
      • Configure SDK Parameters
      • Display User Interfaces
      • When Consent Changes
    • Additional Resources
      • SDK Logging
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • API Reference
  • HTML5 SDK - Tizen and webOS
    • Getting Started
      • Download the SDK
      • Initialize the SDK
      • Display User Interfaces
      • When Consent Changes
    • Additional Resources
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
  • MAUI and Unity SDK
    • Getting Started
      • Download the SDK
      • Add SDK to App
      • Initialize the SDK
      • Display User Interfaces
      • Customize User Interfaces
      • When Consent Changes
    • Additional Resources
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • API Reference
  • MAUI and Unity SDK (Legacy)
    • Getting Started
      • Download the SDK
      • Add SDK to App
      • Initialize the SDK
      • Display User Interfaces
      • Customize User Interfaces
      • When Consent Changes
    • Additional Resources
      • IAB CCPA US Privacy String
      • IAB TCF 2.2
      • IAB Global Privacy Protocol
      • API Reference
    • Changelog
  • Frameworks
    • React Native
    • Flutter
    • Cordova / Ionic
  • Release Notes
  • URLs called by the OneTrust Mobile SDKs

Websites

  • Third-Party Integration Guides
    • BigCommerce
    • Ensighten
    • Facebook Pixel
    • Google Tag Manager
    • HubSpot
    • Magento
    • Marketo Landing Page
    • mParticle
    • Shopify
    • Squarespace
    • Adobe Experience Platform
  • Performance and Availability of the Cookie Consent Script
  • OneTrust Cookies
  • Additional Resources
    • Web CMP API Reference
    • Custom Geolocation Integration
    • Downloading Scripts Locally
    • Display Preference Center on Script Load
    • AMP Integration
    • Configuring a Content Security Policy with OneTrust CDN
    • IAB CCPA: Configuring the US Privacy String
    • IAB TCF Developer Guide
    • Using TCF with Header Bidding (TCF Stub)
    • Using TCF with Prebid
    • Single Page Applications
    • Multi-Touch Consent
    • Google Consent Mode
    • Custom Common CSS and Javascript
    • Custom Common HTML
    • Server Side Rendering Performance & Availability

Server-Side CMP API

  • Introduction
  • Persisting Consent
  • Get Banner UI
  • Get Preference Center UI
  • Get Vendor List UI
  • Get Universal Consent Preferences UI
  • Save and Log Consent
  • Implementation Guidance
  • Additional Resources
    • IAB TCF 2.2
    • IAB Global Privacy Protocol

Release Notes

Suggest Edits

👍

For more information about SDK changes, refer to the OneTrust Release Notes page in myOneTrust and filter by Privacy & Data Governance > Mobile App Consent.

Updated over 1 year ago


👋 Hi there!

Start Learning. Start Building. Start Launching! 🚀
These resources can help you get started:
Did this page help you?

Please enter your feedback. Feedback submitted successfully!
Get Help
Contact Support
System Status
Scheduled Maintenance
Groups
Groups
Developer Experience
Knowledge Base
Articles
Documents
Resources
Idea Exchange
OneTrust News
Hands-On Labs
OneTrust Partner List
Training
Product Updates
OneTrust Roadmap
Release Notes
Release Webinars
Talks Tech Podcast

© 2025 ONETRUST. ALL RIGHTS RESERVED.
Privacy Policy
Cookie Notice
Cookie List