OneTrust Contracts API

The Contracts APIs are used to manage vendor contract operations including contract creation, updates, search functionality, contract type management, and schema configuration for comprehensive contract lifecycle management.

Operations 7

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/vendor/v1/contracts/add Create a vendor contract · Create Contract #
Ask an LLM
“How do I record a new contract with a vendor?”
“Can I capture a contract's cost, currency and expiration date when adding it?”
Tell an agent
Create contract {name} for vendor {vendorId} with status {status}, agreed {agreementCreatedDate}.
Add contract {name} with vendor {vendorId}, status {status}, signed {agreementCreatedDate}, expiring {expirationDate}.
GET /api/vendor/v1/contracts/schemas Get the contract attribute schema · Get Contract Schema #
Ask an LLM
“What custom attributes can a vendor contract have?”
“Which options are available for each contract attribute?”
Tell an agent
Show the contract attribute schema.
Get contract attributes with active status {activeStatus}.
GET /api/vendor/v1/contracts/types List contract types · Get List of Contract Types #
Ask an LLM
“What contract types are available, like MSA or DPA?”
“Which contract type IDs can I use when creating a contract?”
Tell an agent
List all contract types.
Show the contract type options.
POST /api/vendor/v1/contracts/vendors/{vendorId}/contracts Search a vendor's contracts · Search Contracts #
Ask an LLM
“What contracts do we have with a given vendor?”
“Can I keyword search a vendor's contracts and filter them?”
Tell an agent
List the contracts for vendor {vendorId}.
Search vendor {vendorId}'s contracts for {fullText}.
DELETE /api/vendor/v1/contracts/{contractId} Delete a contract · Delete Contract #
Ask an LLM
“How do I delete a vendor contract?”
“Can I remove a contract record by its ID?”
Tell an agent destructive · confirm first
Delete contract {contractId}.
Remove vendor contract {contractId}.
GET /api/vendor/v1/contracts/{contractId}/contracts Get a contract · Get Contract #
Ask an LLM
“When was a contract approved and who approved it?”
“Can I fetch a contract without its attachments?”
Tell an agent
Show contract {contractId}.
Get contract {contractId} excluding attachments.
PUT /api/vendor/v1/contracts/{contractId}/vendors/{vendorId}/contracts Update a vendor contract · Update Contract #
Ask an LLM
“How do I change the status or expiration of an existing contract?”
“Can I update a contract's owner and approvers?”
Tell an agent
Update contract {contractId} for vendor {vendorId}: name {name}, status {status}, agreed {agreementCreatedDate}.
Extend contract {contractId} with vendor {vendorId} to expire {expirationDate}.

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-contracts-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-contracts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Third-Party Management - Third-Party Risk Management…
  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 Third-Party Risk Management APIs provide comprehensive functionality for managing vendor relationships, engagements, and contracts within the GRC ecosystem, enabling organizations to assess, monitor, and control third-party risks through engagement lifecycle management, contract administration, and customizable attribute schemas.
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 (75 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-contracts-api-openapi.yml