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"
}