Connectors / Security and compliance · HTTP Connector
OneTrust integration and API
Create consent receipts, create a purpose and create a task in OneTrust. Connect OneTrust to the rest of your security and compliance stack with Tray.ai.
What can you do with OneTrust on Tray.ai?
OneTrust is a privacy and data governance platform for managing cookie consent, data subject records, consent purposes, data inventories and AI governance. Tray.ai connects to OneTrust through the HTTP Connector, so your workflows can call the OneTrust API alongside the rest of your stack.
- Create consent receipts when a visitor signs up through a form on your website.
- Create a task for the privacy team when a data request arrives in your help desk.
- Search data subjects and update consent preferences in your email marketing tool.
- Delete a data subject once their deletion request is closed in your privacy process.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0
Set it up
Connect OneTrust to Tray.ai
Each step uses OneTrust's own API details, from its documentation.
Sign in to OneTrust with OAuth 2.0
Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with OneTrust. Sign in once and every step reads the token from there.
Import a request from OneTrust's docs
Add an HTTP Client step and paste a cURL example from OneTrust's API docs. Tray.ai fills in the method, URL, headers, and query.
Start with “List data subjects”
It's one of 18 documented actions, under Data subjects. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Create consent receipts” and “Create consent receipts in bulk” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with OneTrust
Connect OneTrust with HubSpot, Zendesk, Okta and Slack
Each one uses actions and events from OneTrust's own API documentation.
Record marketing consent from HubSpot forms in OneTrust
When
A form is submitted in HubSpot
Then
- Search data subjects by the contact's email
- Create consent receipts for the purposes the contact agreed to
With HubSpot
Track privacy requests from Zendesk as OneTrust tasks
When
A ticket is tagged as a privacy request in Zendesk
Then
- Search data subjects by the requester's email
- Create a task for the privacy team with the ticket details
With Zendesk
Apps you can build on OneTrust data
Internal tools your team can build with an AI assistant, each one using OneTrust calls from its API documentation.
Data subject request lookup
Searches data subjects, shows their record and lets the privacy team delete it on request.
Consent purpose register
Lists consent purposes and lets the privacy team update or retire each one.
Privacy task tracker
Creates privacy tasks and lets owners look up and update each one.
Give your AI agents OneTrust tools
Build an MCP server on OneTrust in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- Create consent receipts
- List data subjects
- List purposes
- List users
- Create a task
- Create consent receipts in bulk
- Get a data subject
- Search data subjects
What the OneTrust API covers
5 resources and 18 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Consent receipts
- Create consent receipts
- Create consent receipts in bulk
Data subjects
- List data subjects
- Get a data subject
- Search data subjects
- Delete a data subject
Purposes
- List purposes
- Create a purpose
- Update a purpose
- Publish a purpose
- Retire a purpose
Users
- List users
- Create a user
- Get a user
- Update a user
Tasks
- Create a task
- Get a task
- Update a task
Checked against OneTrust's own documentation on 2026-11-07
How Tray.ai makes this work
OneTrust plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in OneTrust, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose OneTrust actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on OneTrust data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore security and compliance apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every security and compliance connector →
Frequently asked questions
What can a Tray.ai workflow do in OneTrust?
The OneTrust API documents 18 actions across 5 resources (Consent receipts, Data subjects, Purposes, Users, Tasks). For example: Create consent receipts; List data subjects; List purposes. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with OneTrust?
The OneTrust API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See OneTrust working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.