Generated by API Evangelist
Written by API Evangelist tooling for OneTrust's API. It is a proposal applied on top of the contract, not a document OneTrust publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Consent & Preferences - Policy & Notice Management Privacy…
version: 1.0.0
extends: openapi/onetrust-privacy-notice-v2-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-09-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/v2/privacynotices'].get
update:
x-apievangelist-phrasing:
intent: List privacy notices
effect: read
questions:
- Which privacy notices do we have and when were they last published?
- Can I page through all privacy notices?
instructions:
- text: List all privacy notices.
- text: Show page {page} of privacy notices.
slots:
page: query.page
method: generated
generated: '2026-09-26'
- target: $.paths['/v2/privacynotices/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a privacy notice as published on a date
effect: read
questions:
- Which version of our privacy notice was live on a specific date?
- Can I retrieve the notice text in effect at a past time?
instructions:
- text: Get privacy notice {id} as published on {date}.
slots:
id: path.id
date: query.date
- text: Show the version of notice {id} live at {date}.
slots:
id: path.id
date: query.date
method: generated
generated: '2026-09-26'
- target: $.paths['/v2/privacynotices/{privacyNoticeId}/versions'].get
update:
x-apievangelist-phrasing:
intent: List a privacy notice's versions
effect: read
questions:
- How many versions has a privacy notice gone through?
- Can I see the version history of one notice?
instructions:
- text: List versions of privacy notice {privacyNoticeId}.
slots:
privacyNoticeId: path.privacyNoticeId
- text: Show page {page} of version history for notice {privacyNoticeId}.
slots:
page: query.page
privacyNoticeId: path.privacyNoticeId
method: generated
generated: '2026-09-26'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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.