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

ActionWhat it does
Add note to requestAdd an internal note to a privacy request, such as what was done.
Approve consent eventConfirm a consent event that is waiting for approval, so its choices apply, or set one back to pending.
Create consent tokenMake 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 requestLog a privacy request someone made, such as to see or delete their data.
Create purposeAdd a purpose to your Data Manager, such as newsletters or analytics.
Create userAdd a person to Didomi with your own ID for them and their metadata.
Delete consent eventDelete a consent event.
Delete purposeDelete a purpose from your Data Manager.
Delete userDelete a person and their consent status from Didomi, such as when they ask to be forgotten.
Get compliance reportGet one compliance report: its score, status and errors, and optionally every tracker and vendor it found.
Get consent eventGet one consent event: the choices it recorded, its status and who made it.
Get privacy requestGet one privacy request with its status, right, deadline and the details given.
Get user's consentsGet one person's current consent status: each purpose and vendor they accepted or refused, their preferences and metadata.
List compliance reportsList compliance scan reports with their score, trackers and vendors found, filtered by website, status or date.
List consent eventsList one person's consent history: every time they gave or changed their consents, and who made the change.
List consent noticesList your organization's consent notices (cookie banners) by name and id.
List organizationsList the Didomi organizations your API key reaches, with their ids.
List privacy requestsList privacy requests (requests to see, delete or stop selling someone's data), filtered by status, right, person or date.
List purposesList the purposes in your Data Manager: the reasons you collect data that people give or refuse consent to.
List regulationsList the privacy laws Didomi supports (GDPR, CPRA and others), with their ids and the countries and states each applies in.
List request notesList the notes on a privacy request, or on every request if none is given.
List scanned websitesList the websites Didomi scans for its compliance reports.
List user rightsList the rights people can ask to exercise in a privacy request, such as access, deletion or opt-out, with their ids.
List usersList the people Didomi holds consents for, 100 at a time, with their current choices.
Record consentRecord the purposes and vendors a person accepted or refused.
Update privacy requestMove a privacy request on (in progress, fulfilled, refused or archived), and give the person a link to their data.
Update userChange 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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Privacy request IDrequest_idtextRequired
The privacy request's id, from 'List privacy requests' or an earlier step.
NotetexttextRequired
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."
  }
}

Confirm a consent event that is waiting for approval, so its choices apply, or set one back to pending.

Inputs

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Consent event IDevent_idtextRequired
The consent event's id, from 'List consent events' or 'Record consent'.
StatusstatustextRequired
Confirmed applies the event's choices.One of: confirmed, pending_approval (Pending approval).
Your user IDorganization_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 IDdidomi_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": ""
    }
  }
}

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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Your user IDorganization_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)'.
Metadatametadataobject
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Your user IDorganization_user_idtextRequired
Your own ID for the person; their email is best.
Rightuser_right_idtextRequired
What the person asks for. Pick one, or give its id.
StatusstatustextRequired
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.
Emailemailtext
The person's email, which Didomi writes to about the request. Needed when unverified.
Countrycountrytext
Where the request comes from, as a two-letter code such as US.
Metadatametadataobject
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
NamenametextRequired
The purpose's name, shown to people.
Descriptiondescriptiontext
What the data is used for, in plain words.
Custom IDcustom_idtext
Your own ID for the purpose, to match it in your systems.
Regulationsregulationslist
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Your user IDorganization_user_idtext
Your own ID for the person, such as their email address or CRM id.
Didomi user IDdidomi_user_idtext
Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
Countrycountrytext
The person's country, as a two-letter code such as FR or US.
Metadatametadataobject
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 a consent event. Didomi works the person's consent status out again as if it had never happened.

Inputs

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Consent event IDevent_idtextRequired
The consent event's id, from 'List consent events' or 'Record consent'.
Your user IDorganization_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 IDdidomi_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Purposepurpose_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
UserusertextRequired
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 bylookuptext
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Report IDreport_idtextRequired
The report's id, from 'List compliance reports'.
Include findingsinclude_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 one consent event: the choices it recorded, its status and who made it.

Inputs

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Consent event IDevent_idtextRequired
The consent event's id, from 'List consent events' or 'Record consent'.
Your user IDorganization_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 IDdidomi_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Privacy request IDrequest_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
UserusertextRequired
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 bylookuptext
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).
Regulationregulationtext
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 duplicatesmerge_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Websiteproperty_idtext
Only reports on this website.
Statusstatustext
Only reports in this status.One of: success, partial, failed, queued, pending (Running).
Made on or aftercreated_afterdate
Only reports made on or after this date.
Made on or beforecreated_beforedate
Only reports made on or before this date.
Page sizelimitnumber
How many to return, 1 to 100.From 1 to 100.
Skipskipnumber
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 one person's consent history: every time they gave or changed their consents, and who made the change.

Inputs

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Your user IDorganization_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 IDdidomi_user_idtext
Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
Statusstatustext
Which events to include. Defaults to confirmed.One of: confirmed (Confirmed (default)), pending_approval (Pending approval), all (Confirmed and pending).
Regulationregulationtext
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 your organization's consent notices (cookie banners) by name and id.

Inputs

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Page sizelimitnumber
How many to return, 1 to 100.From 1 to 100.
Skipskipnumber
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 sizelimitnumber
How many to return, 1 to 100.From 1 to 100.
Skipskipnumber
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Statusstatustext
Only requests in this status.One of: unverified (Unverified (Didomi emails the person to confirm)), verified, work_in_progress (In progress), fulfilled, refused, archived.
Rightuser_right_idtext
Only requests for this right.
Your user IDorganization_user_idtext
Only requests from the person with this ID, such as an email.
Made on or aftercreated_afterdate
Only requests made on or after this date.
Page sizelimitnumber
How many to return, 1 to 100.From 1 to 100.
Skipskipnumber
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Page sizelimitnumber
How many to return, 1 to 100.From 1 to 100.
Skipskipnumber
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

Readinessrelease_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Privacy request IDrequest_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Page sizelimitnumber
How many to return, 1 to 100.From 1 to 100.
Skipskipnumber
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Your user IDorganization_user_idtext
Only the person with this ID of yours, such as an email.
Regulationregulationtext
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 pagecursortext
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 the purposes and vendors a person accepted or refused. Didomi adds it to their history and updates their consent status.

Inputs

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Your user IDorganization_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 IDdidomi_user_idtext
Didomi's own ID for the person, if you don't use your own. Give this or your user ID.
Regulationregulationtext
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 acceptedpurposes_givenlist
The purposes the person agreed to.
Purposes refusedpurposes_refusedlist
The purposes the person said no to.
Preference choicespreference_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 acceptedvendors_givenlist
The ids of vendors the person agreed to.
Vendors refusedvendors_refusedlist
The ids of vendors the person refused.
Statusstatustext
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).
Countryuser_countrytext
The person's country, as a two-letter code such as FR.
User metadatauser_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 integrationsskip_integrationstrue/false
Turn on when importing consents your other tools already have, so Didomi doesn't send them on again.
Make a TCF consent stringgenerate_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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
Privacy request IDrequest_idtextRequired
The privacy request's id, from 'List privacy requests' or an earlier step.
Statusstatustext
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 linkdownload_linktext
For a request to see their data: an https link to it, sent to the person when the request is fulfilled.
Metadatametadataobject
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

Organizationorganization_idtext
The Didomi organization. Leave empty to use the one your API key belongs to.
UserusertextRequired
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 bylookuptext
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 IDnew_organization_user_idtext
A new ID of yours for the person. Leave empty to keep it.
Countrycountrytext
The person's country, as a two-letter code such as FR or US.
Metadatametadataobject
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
  }
}

On this page