A notice is the high-level definition of a consent notice, including its ID, its name, and its creation/archival dates.
The /widgets/notices endpoint of the API exposes the notices managed by Didomi for your organizations. For a full reference of the endpoint and the resources that it returns, visit
To create a consent notice, send a POST /widgets/notices request with the name of the notice to create and the ID of the organization that will host it:
"organization_id": "didomi",
"name": "My consent notice"
The API will return a response similar to:
"name": "My consent notice",
"archived_at": null,
"organization_id": "didomi",
"id": "7wmRYUH6",
"created_at": "2021-03-27T08:38:10.831Z",
"updated_at": "2021-03-27T08:38:10.831Z",
"version": 0