Didomi Web SDK

The Didomi Web SDK is the browser-side library that renders consent notices, preference centers, and privacy widgets, gates third-party tags on user consent, and writes IAB TCF v2 / GPP / Didomi consent strings to storage. It exposes a programmatic API (Didomi.getUserConsentStatus, Didomi.setUserAgreeToAll, Didomi.openPreferences, etc.), a typed event bus, and integrations with Google Tag Manager, Adobe Launch, Tealium, Prebid, Google Consent Mode v2, Salesforce DMP, Piano Analytics and other tag managers and SSPs.

Documentation

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/didomi:didomi-web-sdk"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.

API entry from apis.yml

apis.yml Raw ↑
aid: didomi:didomi-web-sdk
name: Didomi Web SDK
tags:
- Consent
- JavaScript
- SDK
- Web
humanURL: https://developers.didomi.io/cmp/web-sdk
baseURL: https://sdk.privacy-center.org
properties:
- type: Documentation
  url: https://developers.didomi.io/cmp/web-sdk
- type: GettingStarted
  url: https://developers.didomi.io/cmp/web-sdk/getting-started
- type: APIReference
  url: https://developers.didomi.io/cmp/web-sdk/reference/api
- type: Events
  url: https://developers.didomi.io/cmp/web-sdk/reference/events
- type: Versioning
  url: https://developers.didomi.io/cmp/web-sdk/reference/versions
- type: Performance
  url: https://developers.didomi.io/cmp/web-sdk/performance
description: The Didomi Web SDK is the browser-side library that renders consent notices, preference centers,
  and privacy widgets, gates third-party tags on user consent, and writes IAB TCF v2 / GPP / Didomi consent
  strings to storage. It exposes a programmatic API (Didomi.getUserConsentStatus, Didomi.setUserAgreeToAll,
  Didomi.openPreferences, etc.), a typed event bus, and integrations with Google Tag Manager, Adobe Launch,
  Tealium, Prebid, Google Consent Mode v2, Salesforce DMP, Piano Analytics and other tag managers and
  SSPs.