Submit and poll a DSAR fulfillment request via the OneTrust Privacy Rights Automation REST API

domain: developer.onetrust.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate an OAuth 2.0 client-credentials token in OneTrust Global Settings; store as YOUR_ONETRUST_TOKEN and note your tenant hostname (e.g., your-org.onetrust.com).
  2. POST to https://{hostname}/api/datasubject/v3/requests with a JSON body containing requestType (e.g., ACCESS), firstName, lastName, email, and the relevant requestFormId; capture the returned requestId.
  3. Poll GET https://{hostname}/api/datasubject/v3/requests/{requestId} every 60 seconds; check the statusLabel field for transitions through PENDING -> IN_PROGRESS -> COMPLETED.
  4. When status reaches COMPLETED, retrieve the fulfillment package via GET https://{hostname}/api/datasubject/v3/requests/{requestId}/report; the response includes a downloadUrl with a short-lived presigned link.
  5. Download the report bundle, then close the request if your workflow requires explicit closure by calling PATCH with status CLOSED and a closingNotes field.
  6. Log the requestId, completion timestamp, and report hash in your audit ledger to demonstrate GDPR Art. 12 accountability.

Known gotchas

Related routes

Create and track a GDPR data subject access request through its fulfillment lifecycle using the OneTrust Data Subject Request (Privacy Rights) API
onetrust.com · 6 steps · unrated
Retrieve and store a OneTrust consent receipt after a preference-center submission
developer.onetrust.com · 6 steps · unrated
Build a GDPR Data Subject Access Request (DSAR) intake and fulfillment pipeline
contracts-general · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans