Integrations
Webhook event catalog
Event types, payloads, and signature tips
Tilgjengelig på Business-planen og høyere. Se priser for hva hver plan inneholder.
Know what events we send, when, and how they are structured.
Events
Each endpoint only receives the event types it subscribed to. Events about a domain go to the webhooks of the account that owns the domain, whoever on the team made the change.
Consent
consent.accepted: A visitor allowed both analytics and marketing.consent.rejected: A visitor allowed neither analytics nor marketing.consent.updated: A visitor allowed one of analytics and marketing but not the other.consent.withdrawn: A visitor took back a category (analytics, marketing or preferences) that their previous consent on the domain allowed. Sent in addition to the accepted / rejected / updated event for the same choice.
Consent events are sent for every consent the banner or the inline embed records, usually within a minute of the choice.
Domains
domain.created: A domain was added (or a deleted domain was added again).domain.updated: A domain's name changed.domain.deleted: A domain was deleted. Its banner stops being served.
Banner
widget.created/widget.updated: A banner configuration was created or changed in the banner editor, by a compliance template or by a translation edit.widget.deployed: The banner was detected live on the site: by its first heartbeat, an installation check or a scan, and again when a banner reported byinstallation.lostis back.
Configuration
config.updated: Something the banner serves changed outside the banner editor: IAB TCF settings, declared cookies (added, edited, deleted or imported from Cookiebot / OneTrust) or the list of services.config.template_applied: A compliance template (GDPR, CCPA and so on) was applied to the banner.
Scans
scan.started: A cookie scan started.scan.completed: A cookie scan finished.scan.failed: A cookie scan failed after its retries, or never finished.
Compliance and monitoring
compliance.violation_detected: A finished scan found non-necessary cookies set before the visitor chose, or (deep scans) still set after "Reject all".compliance.audit_generated: A compliance report was generated under Reports.leak.detected: A leak check found a tracker loading before consent that was not leaking on the previous check. Sent once per new leak, not again while it continues.installation.lost: A banner that was verified on the site has not been seen for 24 hours and is not on the site when we look. Sent once until the banner is seen again.
Exports
analytics.data_exported: Consent logs, cookies or data processors were exported as CSV under Reports.
Payload structure
Every delivery has the same envelope:
{
"event_type": "consent.updated",
"event_description": "User updated consent preferences",
"domain_id": "…",
"timestamp": "2026-10-25T12:00:00+00:00",
"data": { … }
}data always includes domain_name. Timestamps are ISO 8601 in UTC; …_user_id fields are the GetCookies user who made the change.
data for consent events:
{
"consent_log_id": "…",
"domain_name": "example.com",
"visitor_key": "2f61a21a…",
"consent_choices": { "necessary": true, "analytics": true },
"consent_given": { "necessary": true, "analytics": true, "marketing": false, "preferences": false },
"compliance_mode": "opt-in",
"gpc": { "signal_detected": false, "honored": false, "consent_source": "banner", "region_code": "EU" },
"dnt": { "signal_detected": false, "honored": false },
"created_at": "2026-10-25T12:00:00+00:00",
"expires_at": "2027-10-25T12:00:00+00:00"
}consent.withdrawn adds "withdrawn_categories": ["marketing"] and "previous_consent_log_id": "…".
visitor_key is the SHA-256 hex of the visitor id that GetCookies.getVisitorId() returns in the browser, the same key the Consent Verification API matches.
data for domain events:
domain.created { "domain_name": "example.com", "organization_id": "…", "restored": false, "created_at": "…" }
domain.updated { "domain_name": "shop.example.com", "previous_domain_name": "example.com", "changes": { "domain": { "from": "example.com", "to": "shop.example.com" } }, "updated_at": "…" }
domain.deleted { "domain_name": "example.com", "deleted_at": "…" }data for banner events:
widget.created { "domain_name": "example.com", "widget_id": "…", "position": "bottom-left", "theme": "light" }
widget.updated { "domain_name": "example.com", "widget_id": "…", "changes": { "primary_color": "#0055ff" }, "version": 7 }
widget.deployed { "domain_name": "example.com", "restored": false, "source": "heartbeat", "widget_version": "3.4.0", "detected_at": "…" }source is heartbeat, verify_script, installation_status, onboarding_checklist, scan or, with "restored": true, installation_watch.
data for configuration events:
config.updated { "domain_name": "example.com", "section": "iab_tcf", "changes": { "action": "updated", "settings": { "show_stacks": { "from": false, "to": true } } }, "updated_by_user_id": "…", "updated_at": "…" }
config.template_applied { "domain_name": "example.com", "template_id": "gdpr", "template_name": "GDPR (EU)", "widget_id": "…", "version": 8, "applied_settings": ["require_interaction", "show_reject_button"], "applied_by_user_id": "…", "applied_at": "…" }section is iab_tcf (changes.action created with all settings, or updated with the changed ones), cookie_declarations (action created, updated or deleted with the cookie, or imported with source, cookies_added and categories_added) or services (action added, updated or removed with mapping_id, dps_template_id and, when known, service_name and the changed fields).
data for scan events:
scan.started { "domain_name": "example.com", "scan_id": "…", "scan_job_id": "…", "started_at": "…" }
scan.completed { "domain_name": "example.com", "scan_id": "…", "pages_scanned": 12, "cookies_found": 7, "duration_seconds": 31, "completed_at": "…" }
scan.failed { "domain_name": "example.com", "scan_id": "…", "error_message": "…", "attempts": 3, "failed_at": "…" }data for compliance.violation_detected:
{
"domain_name": "example.com",
"scan_id": "…",
"violation_count": 3,
"pre_consent": { "count": 2, "cookies": [ { "name": "_ga", "domain": ".example.com", "category": "analytics" } ] },
"after_reject": { "audited": true, "status": "fail", "count": 1, "cookies": [ { "name": "_fbp", "domain": ".example.com", "category": "marketing" } ] },
"detected_at": "…"
}Each cookie list holds at most 50 entries; count is the full number.
data for compliance.audit_generated:
{ "domain_name": "example.com", "report": "compliance_report", "format": "text", "summary": { "scan_id": "…", "cookies": 7, "consent_records": 1520, "processors": 4, "leak_check_status": "clean", "recommendations": 2 }, "generated_by_user_id": "…", "generated_at": "…" }data for leak.detected:
{
"domain_name": "example.com",
"run_id": "…",
"ran_at": "…",
"pages_checked": 5,
"new_leaks": [ { "vendor": "Meta", "host": "connect.facebook.net", "category": "marketing", "page_path": "/", "initiator": "…", "fix": "…", "cookies": ["_fbp"] } ],
"leak_count": 1,
"link": "<dashboard link to the leak check>"
}data for installation.lost:
{ "domain_name": "example.com", "last_seen_at": "…", "detected_at": "…", "link": "<dashboard link to the domain>" }data for analytics.data_exported:
{ "domain_name": "example.com", "export": "consent_logs", "format": "csv", "row_count": 1520, "start_date": null, "end_date": null, "exported_by_user_id": "…", "exported_at": "…" }export is consent_logs, cookies or processors; the date range is set only for consent logs.
Global Privacy Control (GPC) fields
Every consent webhook includes GPC data for audit compliance:
| Field | Description |
|---|---|
gpc.signal_detected | Whether browser sent GPC signal |
gpc.honored | Whether the opt-out was applied |
gpc.consent_source | How consent was obtained: banner, gpc_auto, api, inline_embed |
gpc.region_code | Jurisdiction code (e.g., US-CA, EU) |
Use these fields to prove you honored GPC signals under the US state laws that require it, including California, Colorado, Connecticut, Oregon and Texas.
Do Not Track (DNT) fields
We also capture the legacy DNT signal:
| Field | Description |
|---|---|
dnt.signal_detected | Whether browser sent DNT signal |
dnt.honored | Whether the signal was honored |
Note: DNT is not legally binding but shows good faith privacy practices.
Security
- Verify
X-Webhook-Signature(t=<unix seconds>,v1=<hex>) over the raw request body and reject atmore than 5 minutes old; see Set up webhooks for a snippet. - Respond 2xx; failed deliveries are retried as many times as the endpoint allows.
- Process idempotently using the
X-Webhook-Delivery-Idheader to avoid duplicates.
Testing
- Point the endpoint at a staging server or webhook.site while developing.
- Give consent on your own site, save a banner setting, run a scan or export a report to trigger an event.
Står du fortsatt fast?
Send e-post til [email protected] med domenet ditt og hva du har prøvd. Innloggede kunder kan også opprette en henvendelse fra dashbordet.