Didomi
App · 27 actions
Work with Didomi consent and preference management: record and look up people's consents, approve or delete consent events, manage purposes, handle privacy requests and their notes, and read compliance reports.
Actions
| Action | What it does |
|---|---|
| Add note to request | Add an internal note to a privacy request, such as what was done. |
| Approve consent event | Confirm a consent event that is waiting for approval, so its choices apply, or set one back to pending. |
| Create consent token | Make a short-lived token that lets one person see and change their own consents, such as in a link to your preference center (add ?token= and the token to its address). |
| Create privacy request | Log a privacy request someone made, such as to see or delete their data. |
| Create purpose | Add a purpose to your Data Manager, such as newsletters or analytics. |
| Create user | Add a person to Didomi with your own ID for them and their metadata. |
| Delete consent event | Delete a consent event. |
| Delete purpose | Delete a purpose from your Data Manager. |
| Delete user | Delete a person and their consent status from Didomi, such as when they ask to be forgotten. |
| Get compliance report | Get one compliance report: its score, status and errors, and optionally every tracker and vendor it found. |
| Get consent event | Get one consent event: the choices it recorded, its status and who made it. |
| Get privacy request | Get one privacy request with its status, right, deadline and the details given. |
| Get user's consents | Get one person's current consent status: each purpose and vendor they accepted or refused, their preferences and metadata. |
| List compliance reports | List compliance scan reports with their score, trackers and vendors found, filtered by website, status or date. |
| List consent events | List one person's consent history: every time they gave or changed their consents, and who made the change. |
| List consent notices | List your organization's consent notices (cookie banners) by name and id. |
| List organizations | List the Didomi organizations your API key reaches, with their ids. |
| List privacy requests | List privacy requests (requests to see, delete or stop selling someone's data), filtered by status, right, person or date. |
| List purposes | List the purposes in your Data Manager: the reasons you collect data that people give or refuse consent to. |
| List regulations | List the privacy laws Didomi supports (GDPR, CPRA and others), with their ids and the countries and states each applies in. |
| List request notes | List the notes on a privacy request, or on every request if none is given. |
| List scanned websites | List the websites Didomi scans for its compliance reports. |
| List user rights | List the rights people can ask to exercise in a privacy request, such as access, deletion or opt-out, with their ids. |
| List users | List the people Didomi holds consents for, 100 at a time, with their current choices. |
| Record consent | Record the purposes and vendors a person accepted or refused. |
| Update privacy request | Move a privacy request on (in progress, fulfilled, refused or archived), and give the person a link to their data. |
| Update user | Change a person's ID in your systems, country or metadata. |
Add note to request
Add an internal note to a privacy request, such as what was done.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Privacy request ID
request_idtextRequired - The privacy request's id, from 'List privacy requests' or an earlier step.
- Note
texttextRequired - The note's text.
Outputs
noteobject- The new note
Example output
{
"note": {
"created_at": "2026-10-16T09:00:00.000Z",
"id": "note_01HX",
"organization_id": "acme",
"request_id": "req_01HXAMPLE",
"user": {
"name": "Sam Support"
},
"value": "Data export sent."
}
}Approve consent event
Confirm a consent event that is waiting for approval, so its choices apply, or set one back to pending.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Consent event ID
event_idtextRequired - The consent event's id, from 'List consent events' or 'Record consent'.
- Status
statustextRequired - Confirmed applies the event's choices.One of:
confirmed,pending_approval(Pending approval). - Your user ID
organization_user_idtext - Your own ID for the person the event belongs to, such as their email address. Give this or the Didomi user ID.
- Didomi user ID
didomi_user_idtext - Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
Outputs
eventobject- The consent event
Example output
{
"event": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"created_at": "2026-10-15T09:00:00.000Z",
"delegate": {
"id": "agent-42",
"name": "Sam Support"
},
"id": "00b89328-e3d5-4068-b346-8f4fcb4618df",
"organization_id": "acme",
"proofs_id": [],
"regulation": "gdpr",
"status": "confirmed",
"user": {
"country": "FR",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"metadata": {},
"organization_user_id": "jo@example.com"
},
"validation": {
"approve_url": ""
}
}
}Create consent token
Make a short-lived token that lets one person see and change their own consents, such as in a link to your preference center (add ?token= and the token to its address).
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Your user ID
organization_user_idtextRequired - Your own ID for the person, such as their email.
- Lasts for (seconds)
lifetimenumber - How long the token works, in seconds. Defaults to 900 (15 minutes).From 60 to 31536000.
- Changed by (ID)
delegate_idtext - When someone changes the consent for the person (such as a support agent), their ID, so the record shows who made the change.
- Changed by (name)
delegate_nametext - That person's name. Needs 'Changed by (ID)'.
- Metadata
metadataobject - Your own keys and values to keep with the token.
Outputs
expires_attext- When it stops working (UTC)
id_tokentext- The consent token
lifetimenumber- How long it lasts, in seconds
organization_user_idtext- Whose it is
Example output
{
"expires_at": "2026-10-15T09:15:00Z",
"id_token": "eyJhbGciOiJIUzI1NiJ9.example.signature",
"lifetime": 900,
"organization_user_id": "jo@example.com"
}Create privacy request
Log a privacy request someone made, such as to see or delete their data. With an email, Didomi keeps them informed as the request moves on.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Your user ID
organization_user_idtextRequired - Your own ID for the person; their email is best.
- Right
user_right_idtextRequired - What the person asks for. Pick one, or give its id.
- Status
statustextRequired - Verified if you already know it's them; unverified has Didomi email them to confirm first.One of:
unverified(Unverified (Didomi emails the person to confirm)),verified,work_in_progress(In progress),fulfilled,refused,archived. - Email
emailtext - The person's email, which Didomi writes to about the request. Needed when unverified.
- Country
countrytext - Where the request comes from, as a two-letter code such as US.
- Metadata
metadataobject - Your own keys and values to keep on the request.
Outputs
requestobject- The privacy request
Example output
{
"request": {
"created_at": "2026-10-15T09:00:00.000Z",
"expires_at": "2026-11-29T09:00:00.000Z",
"id": "req_01HXAMPLE",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"regulation_id": "cpra",
"request_fields": [
{
"field_id": "email",
"value": "jo@example.com"
}
],
"source": {
"country": "US",
"type": "DSAR"
},
"status": "verified",
"updated_at": "2026-10-15T09:00:00.000Z",
"user_right_id": "cpra_access_my_data",
"validation": {
"approve_url": "",
"type": "email"
}
}
}Create purpose
Add a purpose to your Data Manager, such as newsletters or analytics.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Name
nametextRequired - The purpose's name, shown to people.
- Description
descriptiontext - What the data is used for, in plain words.
- Custom ID
custom_idtext - Your own ID for the purpose, to match it in your systems.
- Regulations
regulationslist - The privacy laws the purpose is used under.
Outputs
purposeobject- The new purpose
Example output
{
"purpose": {
"created_at": "2026-10-01T09:00:00.000Z",
"description": "Newsletters",
"details": "Send you our newsletters.",
"id": "newsletters",
"metadata": {},
"namespaces": {
"custom": "newsletters",
"didomi": "",
"iab2": ""
},
"organization_id": "acme",
"regulations_id": [
"gdpr"
],
"updated_at": "2026-10-01T09:00:00.000Z"
}
}Create user
Add a person to Didomi with your own ID for them and their metadata. To record what they agreed to, use 'Record consent'.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Your user ID
organization_user_idtext - Your own ID for the person, such as their email address or CRM id.
- Didomi user ID
didomi_user_idtext - Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
- Country
countrytext - The person's country, as a two-letter code such as FR or US.
- Metadata
metadataobject - Your own keys and values to keep on the person.
Outputs
userobject- The person
Example output
{
"user": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"country": "FR",
"created_at": "2026-10-15T09:00:00.000Z",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"last_seen_country": "FR",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"updated_at": "2026-10-15T09:00:00.000Z",
"version": 1
}
}Delete consent event
Delete a consent event. Didomi works the person's consent status out again as if it had never happened.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Consent event ID
event_idtextRequired - The consent event's id, from 'List consent events' or 'Record consent'.
- Your user ID
organization_user_idtext - Your own ID for the person the event belongs to, such as their email address. Give this or the Didomi user ID.
- Didomi user ID
didomi_user_idtext - Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
Outputs
deletedtrue/false- Always true once deleted
eventobject- The event, now deleted
event_idtext- The event deleted
Example output
{
"deleted": true,
"event": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"created_at": "2026-10-15T09:00:00.000Z",
"delegate": {
"id": "agent-42",
"name": "Sam Support"
},
"id": "00b89328-e3d5-4068-b346-8f4fcb4618df",
"organization_id": "acme",
"proofs_id": [],
"regulation": "gdpr",
"status": "confirmed",
"user": {
"country": "FR",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"metadata": {},
"organization_user_id": "jo@example.com"
},
"validation": {
"approve_url": ""
}
},
"event_id": "00b89328-e3d5-4068-b346-8f4fcb4618df"
}Delete purpose
Delete a purpose from your Data Manager.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Purpose
purpose_idtextRequired - The purpose to delete. Pick one, or give its id.
Outputs
deletedtrue/false- Always true once deleted
purposeobject- The purpose, now deleted
purpose_idtext- The purpose deleted
Example output
{
"deleted": true,
"purpose": {
"created_at": "2026-10-01T09:00:00.000Z",
"description": "Newsletters",
"details": "Send you our newsletters.",
"id": "newsletters",
"metadata": {},
"namespaces": {
"custom": "newsletters",
"didomi": "",
"iab2": ""
},
"organization_id": "acme",
"regulations_id": [
"gdpr"
],
"updated_at": "2026-10-01T09:00:00.000Z"
},
"purpose_id": "newsletters"
}Delete user
Delete a person and their consent status from Didomi, such as when they ask to be forgotten.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- User
usertextRequired - The person: your own user ID for them (such as their email), or Didomi's user ID if 'Look up by' says so.
- Look up by
lookuptext - Whether 'User' is your own user ID or Didomi's. Defaults to yours.One of:
organization_user_id(Your own user ID (default)),didomi_id(Didomi user ID).
Outputs
deletedtrue/false- Always true once deleted
userobject- The person, now deleted
user_keytext- The user deleted
Example output
{
"deleted": true,
"user": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"country": "FR",
"created_at": "2026-10-15T09:00:00.000Z",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"last_seen_country": "FR",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"updated_at": "2026-10-15T09:00:00.000Z",
"version": 1
},
"user_key": "jo@example.com"
}Get compliance report
Get one compliance report: its score, status and errors, and optionally every tracker and vendor it found.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Report ID
report_idtextRequired - The report's id, from 'List compliance reports'.
- Include findings
include_outputstrue/false - Also return every tracker and vendor found. Can be large.
Outputs
reportobject- The compliance report
Example output
{
"report": {
"created_at": "2026-01-14T06:42:48.322Z",
"errors": [],
"id": "rep_01HX",
"organization_id": "acme",
"outputs": {},
"property_id": "prop_01HX",
"score": 80,
"status": "success",
"trackers_count": 27,
"vendors_count": 9
}
}Get consent event
Get one consent event: the choices it recorded, its status and who made it.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Consent event ID
event_idtextRequired - The consent event's id, from 'List consent events' or 'Record consent'.
- Your user ID
organization_user_idtext - Your own ID for the person the event belongs to, such as their email address. Give this or the Didomi user ID.
- Didomi user ID
didomi_user_idtext - Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
Outputs
eventobject- The consent event
Example output
{
"event": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"created_at": "2026-10-15T09:00:00.000Z",
"delegate": {
"id": "agent-42",
"name": "Sam Support"
},
"id": "00b89328-e3d5-4068-b346-8f4fcb4618df",
"organization_id": "acme",
"proofs_id": [],
"regulation": "gdpr",
"status": "confirmed",
"user": {
"country": "FR",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"metadata": {},
"organization_user_id": "jo@example.com"
},
"validation": {
"approve_url": ""
}
}
}Get privacy request
Get one privacy request with its status, right, deadline and the details given.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Privacy request ID
request_idtextRequired - The privacy request's id, from 'List privacy requests' or an earlier step.
Outputs
requestobject- The privacy request
Example output
{
"request": {
"created_at": "2026-10-15T09:00:00.000Z",
"expires_at": "2026-11-29T09:00:00.000Z",
"id": "req_01HXAMPLE",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"regulation_id": "cpra",
"request_fields": [
{
"field_id": "email",
"value": "jo@example.com"
}
],
"source": {
"country": "US",
"type": "DSAR"
},
"status": "verified",
"updated_at": "2026-10-15T09:00:00.000Z",
"user_right_id": "cpra_access_my_data",
"validation": {
"approve_url": "",
"type": "email"
}
}
}Get user's consents
Get one person's current consent status: each purpose and vendor they accepted or refused, their preferences and metadata.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- User
usertextRequired - The person: your own user ID for them (such as their email), or Didomi's user ID if 'Look up by' says so.
- Look up by
lookuptext - Whether 'User' is your own user ID or Didomi's. Defaults to yours.One of:
organization_user_id(Your own user ID (default)),didomi_id(Didomi user ID). - Regulation
regulationtext - The privacy law the consent falls under. Defaults to GDPR.One of:
gdpr(GDPR (EU and UK)),cpra(CPRA (California)),cpa(CPA (Colorado)),ctdpa(CTDPA (Connecticut)),vcdpa(VCDPA (Virginia)). - Combine duplicates
merge_userstrue/false - When several Didomi users share your user ID, show their consents as one.
Outputs
userobject- The person
Example output
{
"user": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"country": "FR",
"created_at": "2026-10-15T09:00:00.000Z",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"last_seen_country": "FR",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"updated_at": "2026-10-15T09:00:00.000Z",
"version": 1
}
}List compliance reports
List compliance scan reports with their score, trackers and vendors found, filtered by website, status or date.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Website
property_idtext - Only reports on this website.
- Status
statustext - Only reports in this status.One of:
success,partial,failed,queued,pending(Running). - Made on or after
created_afterdate - Only reports made on or after this date.
- Made on or before
created_beforedate - Only reports made on or before this date.
- Page size
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
skipnumber - How many to skip, such as the 'next_skip' of an earlier page.At least 0.
Outputs
countnumber- How many on this page
has_moretrue/false- Whether more come after these
next_skipnumber- Pass as 'Skip' to get the next page
reportslist- The reports
totalnumber- How many there are in all
Example output
{
"count": 1,
"has_more": false,
"next_skip": 1,
"reports": [
{
"created_at": "2026-01-14T06:42:48.322Z",
"errors": [],
"id": "rep_01HX",
"organization_id": "acme",
"outputs": {},
"property_id": "prop_01HX",
"score": 80,
"status": "success",
"trackers_count": 27,
"vendors_count": 9
}
],
"total": 1
}List consent events
List one person's consent history: every time they gave or changed their consents, and who made the change.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Your user ID
organization_user_idtext - Your own ID for the person the event belongs to, such as their email address. Give this or the Didomi user ID.
- Didomi user ID
didomi_user_idtext - Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
- Status
statustext - Which events to include. Defaults to confirmed.One of:
confirmed(Confirmed (default)),pending_approval(Pending approval),all(Confirmed and pending). - Regulation
regulationtext - The privacy law the consent falls under. Defaults to GDPR.One of:
gdpr(GDPR (EU and UK)),cpra(CPRA (California)),cpa(CPA (Colorado)),ctdpa(CTDPA (Connecticut)),vcdpa(VCDPA (Virginia)).
Outputs
countnumber- How many
eventslist- The consent events
Example output
{
"count": 1,
"events": [
{
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"created_at": "2026-10-15T09:00:00.000Z",
"delegate": {
"id": "agent-42",
"name": "Sam Support"
},
"id": "00b89328-e3d5-4068-b346-8f4fcb4618df",
"organization_id": "acme",
"proofs_id": [],
"regulation": "gdpr",
"status": "confirmed",
"user": {
"country": "FR",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"metadata": {},
"organization_user_id": "jo@example.com"
},
"validation": {
"approve_url": ""
}
}
]
}List consent notices
List your organization's consent notices (cookie banners) by name and id.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Page size
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
skipnumber - How many to skip, such as the 'next_skip' of an earlier page.At least 0.
Outputs
countnumber- How many on this page
has_moretrue/false- Whether more come after these
next_skipnumber- Pass as 'Skip' to get the next page
noticeslist- The consent notices
totalnumber- How many there are in all
Example output
{
"count": 1,
"has_more": false,
"next_skip": 1,
"notices": [
{
"archived_at": "",
"created_at": "2026-03-27T08:38:10.831Z",
"id": "7wmRYUH6",
"name": "Main website",
"organization_id": "acme",
"updated_at": "2026-03-27T08:38:10.831Z",
"version": 0
}
],
"total": 1
}List organizations
List the Didomi organizations your API key reaches, with their ids.
Inputs
- Page size
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
skipnumber - How many to skip, such as the 'next_skip' of an earlier page.At least 0.
Outputs
countnumber- How many on this page
has_moretrue/false- Whether more come after these
next_skipnumber- Pass as 'Skip' to get the next page
organizationslist- The organizations
totalnumber- How many there are in all
Example output
{
"count": 1,
"has_more": false,
"next_skip": 1,
"organizations": [
{
"created_at": "2025-01-10T09:00:00.000Z",
"id": "acme",
"name": "Acme",
"organization_group_id": "",
"organization_group_name": "",
"public_api_key": "7dd8ec4e-7462-4b3b-9d04-0e1b4f1c7a3d",
"updated_at": "2026-10-01T09:00:00.000Z",
"website": "https://acme.example"
}
],
"total": 1
}List privacy requests
List privacy requests (requests to see, delete or stop selling someone's data), filtered by status, right, person or date.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Status
statustext - Only requests in this status.One of:
unverified(Unverified (Didomi emails the person to confirm)),verified,work_in_progress(In progress),fulfilled,refused,archived. - Right
user_right_idtext - Only requests for this right.
- Your user ID
organization_user_idtext - Only requests from the person with this ID, such as an email.
- Made on or after
created_afterdate - Only requests made on or after this date.
- Page size
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
skipnumber - How many to skip, such as the 'next_skip' of an earlier page.At least 0.
Outputs
countnumber- How many on this page
has_moretrue/false- Whether more come after these
next_skipnumber- Pass as 'Skip' to get the next page
requestslist- The privacy requests
totalnumber- How many there are in all
Example output
{
"count": 1,
"has_more": false,
"next_skip": 1,
"requests": [
{
"created_at": "2026-10-15T09:00:00.000Z",
"expires_at": "2026-11-29T09:00:00.000Z",
"id": "req_01HXAMPLE",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"regulation_id": "cpra",
"request_fields": [
{
"field_id": "email",
"value": "jo@example.com"
}
],
"source": {
"country": "US",
"type": "DSAR"
},
"status": "verified",
"updated_at": "2026-10-15T09:00:00.000Z",
"user_right_id": "cpra_access_my_data",
"validation": {
"approve_url": "",
"type": "email"
}
}
],
"total": 1
}List purposes
List the purposes in your Data Manager: the reasons you collect data that people give or refuse consent to.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Page size
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
skipnumber - How many to skip, such as the 'next_skip' of an earlier page.At least 0.
Outputs
countnumber- How many on this page
has_moretrue/false- Whether more come after these
next_skipnumber- Pass as 'Skip' to get the next page
purposeslist- The purposes
totalnumber- How many there are in all
Example output
{
"count": 1,
"has_more": false,
"next_skip": 1,
"purposes": [
{
"created_at": "2026-10-01T09:00:00.000Z",
"description": "Newsletters",
"details": "Send you our newsletters.",
"id": "newsletters",
"metadata": {},
"namespaces": {
"custom": "newsletters",
"didomi": "",
"iab2": ""
},
"organization_id": "acme",
"regulations_id": [
"gdpr"
],
"updated_at": "2026-10-01T09:00:00.000Z"
}
],
"total": 1
}List regulations
List the privacy laws Didomi supports (GDPR, CPRA and others), with their ids and the countries and states each applies in.
Inputs
- Readiness
release_statustext - Only regulations at this stage. Only stable ones are meant for collecting consent.One of:
stable(Stable (ready for production)),release-candidate(Release candidate),beta,alpha.
Outputs
countnumber- How many
regulationslist- The regulations
Example output
{
"count": 1,
"regulations": [
{
"archived": false,
"frameworks": [
"iab"
],
"geos": [
{
"country": {
"id": "FR",
"name": "France"
},
"region": {
"id": "*",
"name": "All"
}
}
],
"id": "gdpr",
"name": "General Data Protection Regulation",
"platforms": [
"amp",
"app",
"ctv",
"web"
],
"regulation_type": "optin",
"release_status": "stable"
}
]
}List request notes
List the notes on a privacy request, or on every request if none is given.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Privacy request ID
request_idtext - Only notes on this request.
Outputs
countnumber- How many
noteslist- The notes
Example output
{
"count": 1,
"notes": [
{
"created_at": "2026-10-16T09:00:00.000Z",
"id": "note_01HX",
"organization_id": "acme",
"request_id": "req_01HXAMPLE",
"user": {
"name": "Sam Support"
},
"value": "Data export sent."
}
]
}List scanned websites
List the websites Didomi scans for its compliance reports.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Page size
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
skipnumber - How many to skip, such as the 'next_skip' of an earlier page.At least 0.
Outputs
countnumber- How many on this page
has_moretrue/false- Whether more come after these
next_skipnumber- Pass as 'Skip' to get the next page
propertieslist- The websites
totalnumber- How many there are in all
Example output
{
"count": 1,
"has_more": false,
"next_skip": 1,
"properties": [
{
"country": "fr",
"created_at": "2026-01-14T06:00:00.000Z",
"enabled": true,
"id": "prop_01HX",
"name": "Main website",
"organization_id": "acme",
"pages_count": 10,
"website": "https://acme.example"
}
],
"total": 1
}List user rights
List the rights people can ask to exercise in a privacy request, such as access, deletion or opt-out, with their ids.
Inputs
None.
Outputs
countnumber- How many
user_rightslist- The user rights
Example output
{
"count": 1,
"user_rights": [
{
"description": {
"en": "You can request a copy of your personal information."
},
"expiration_time": 45,
"id": "cpra_access_my_data",
"label": {
"en": "I want to access my data"
},
"name": "Right of access",
"regulation_id": "cpra",
"title": {
"en": "Request to access my data"
}
}
]
}List users
List the people Didomi holds consents for, 100 at a time, with their current choices. To see more, run it again with the next page it gives.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Your user ID
organization_user_idtext - Only the person with this ID of yours, such as an email.
- Regulation
regulationtext - The privacy law the consent falls under. Defaults to GDPR.One of:
gdpr(GDPR (EU and UK)),cpra(CPRA (California)),cpa(CPA (Colorado)),ctdpa(CTDPA (Connecticut)),vcdpa(VCDPA (Virginia)). - Next page
cursortext - The 'next_cursor' from an earlier page.
Outputs
countnumber- How many on this page
next_cursortext- Pass as 'Next page' for more; empty on the last page
userslist- The people
Example output
{
"count": 1,
"next_cursor": "",
"users": [
{
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"country": "FR",
"created_at": "2026-10-15T09:00:00.000Z",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"last_seen_country": "FR",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"updated_at": "2026-10-15T09:00:00.000Z",
"version": 1
}
]
}Record consent
Record the purposes and vendors a person accepted or refused. Didomi adds it to their history and updates their consent status.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Your user ID
organization_user_idtext - Your own ID for the person, such as their email address. Didomi creates them if they're new. Give this or the Didomi user ID.
- Didomi user ID
didomi_user_idtext - Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
- Regulation
regulationtext - The privacy law the consent falls under. Defaults to GDPR.One of:
gdpr(GDPR (EU and UK)),cpra(CPRA (California)),cpa(CPA (Colorado)),ctdpa(CTDPA (Connecticut)),vcdpa(VCDPA (Virginia)). - Purposes accepted
purposes_givenlist - The purposes the person agreed to.
- Purposes refused
purposes_refusedlist - The purposes the person said no to.
- Preference choices
preference_valuesobject - For each purpose id, the values chosen for each of its preferences, such as {"newsletters": {"topics": "sports,news"}}. An empty value clears a preference.
- Vendors accepted
vendors_givenlist - The ids of vendors the person agreed to.
- Vendors refused
vendors_refusedlist - The ids of vendors the person refused.
- Status
statustext - Confirmed applies the choices now. Pending approval keeps them until the event is approved (it needs your user ID). Defaults to confirmed.One of:
confirmed,pending_approval(Pending approval). - Country
user_countrytext - The person's country, as a two-letter code such as FR.
- User metadata
user_metadataobject - Your own keys and values to merge into the person's metadata.
- Changed by (ID)
delegate_idtext - When someone changes the consent for the person (such as a support agent), their ID, so the record shows who made the change.
- Changed by (name)
delegate_nametext - That person's name. Needs 'Changed by (ID)'.
- Don't send to integrations
skip_integrationstrue/false - Turn on when importing consents your other tools already have, so Didomi doesn't send them on again.
- Make a TCF consent string
generate_tcf_stringtrue/false - Also work out the person's IAB TCF consent string.
Outputs
eventobject- The consent event
Example output
{
"event": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"created_at": "2026-10-15T09:00:00.000Z",
"delegate": {
"id": "agent-42",
"name": "Sam Support"
},
"id": "00b89328-e3d5-4068-b346-8f4fcb4618df",
"organization_id": "acme",
"proofs_id": [],
"regulation": "gdpr",
"status": "confirmed",
"user": {
"country": "FR",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"metadata": {},
"organization_user_id": "jo@example.com"
},
"validation": {
"approve_url": ""
}
}
}Update privacy request
Move a privacy request on (in progress, fulfilled, refused or archived), and give the person a link to their data. Only the fields given change.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- Privacy request ID
request_idtextRequired - The privacy request's id, from 'List privacy requests' or an earlier step.
- Status
statustext - The request's new status. Leave empty to keep it.One of:
unverified(Unverified (Didomi emails the person to confirm)),verified,work_in_progress(In progress),fulfilled,refused,archived. - Download link
download_linktext - For a request to see their data: an https link to it, sent to the person when the request is fulfilled.
- Metadata
metadataobject - Your own keys and values to keep on the request.
Outputs
requestobject- The privacy request
Example output
{
"request": {
"created_at": "2026-10-15T09:00:00.000Z",
"expires_at": "2026-11-29T09:00:00.000Z",
"id": "req_01HXAMPLE",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"regulation_id": "cpra",
"request_fields": [
{
"field_id": "email",
"value": "jo@example.com"
}
],
"source": {
"country": "US",
"type": "DSAR"
},
"status": "work_in_progress",
"updated_at": "2026-10-15T09:00:00.000Z",
"user_right_id": "cpra_access_my_data",
"validation": {
"approve_url": "",
"type": "email"
}
}
}Update user
Change a person's ID in your systems, country or metadata. Only the fields given change.
Inputs
- Organization
organization_idtext - The Didomi organization. Leave empty to use the one your API key belongs to.
- User
usertextRequired - The person: your own user ID for them (such as their email), or Didomi's user ID if 'Look up by' says so.
- Look up by
lookuptext - Whether 'User' is your own user ID or Didomi's. Defaults to yours.One of:
organization_user_id(Your own user ID (default)),didomi_id(Didomi user ID). - New user ID
new_organization_user_idtext - A new ID of yours for the person. Leave empty to keep it.
- Country
countrytext - The person's country, as a two-letter code such as FR or US.
- Metadata
metadataobject - Your own keys and values to keep on the person.
Outputs
userobject- The person
Example output
{
"user": {
"consents": {
"channels": [],
"purposes": [
{
"enabled": true,
"enabled_li": true,
"id": "newsletters",
"values": {}
}
],
"tcfcs": "",
"vendors": {
"disabled": [],
"disabled_li": [],
"enabled": [],
"enabled_li": []
}
},
"country": "FR",
"created_at": "2026-10-15T09:00:00.000Z",
"id": "0cc784a0-4425-45ca-a62f-00dd588d1526",
"last_seen_country": "FR",
"metadata": {},
"organization_id": "acme",
"organization_user_id": "jo@example.com",
"updated_at": "2026-10-15T09:00:00.000Z",
"version": 1
}
}