Didomi · Example Payload

Didomi Consent Event Example

AdvertisingAdTechCCPACMPConsentConsent ManagementDSARData PrivacyGDPRIAB TCFMarTechPreference ManagementPrivacyPrivacy RequestsRegulatory Compliance

Didomi Consent Event Example is an example object payload from Didomi, with 10 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idorganization_idnotice_iduserregulationconsent_stringeventssourcecreated_atupdated_at

Example Payload

Raw ↑
{
  "id": "evt_01HRT5K1NXZ5W6EXAMPLE",
  "organization_id": "org_didomi_demo",
  "notice_id": "notice_a1b2c3",
  "user": {
    "id": "u_8df3aa14-5b7c-4f6d-bd0d-2a3e6b8c9011",
    "type": "external",
    "country": "FR",
    "region": null
  },
  "regulation": "gdpr",
  "consent_string": "CPxBQ5APxBQ5AAHABBENB-CgAP_AAEPAAA...",
  "events": [
    { "action": "preferences.click.agreetoall", "purpose": "cookies", "value": true, "legal_basis": "consent" },
    { "action": "consent.given",   "purpose": "analytics_measurement", "value": true,  "legal_basis": "consent" },
    { "action": "consent.given",   "purpose": "advertising_personalization", "value": true, "legal_basis": "consent" },
    { "action": "consent.refused", "vendor":  "iab:42", "value": false, "legal_basis": "legitimate_interest" }
  ],
  "source": {
    "type": "web",
    "sdk_version": "1.119.0",
    "url": "https://example-publisher.fr/article/welcome-to-the-eu"
  },
  "created_at": "2026-05-25T10:42:17Z",
  "updated_at": "2026-05-25T10:42:17Z"
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/didomi-consent-event-example"
All examples
curl "https://apis.io/api/v1/examples?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.