Configurations
Draft configuration
Get the current draft configuration for a notice
GET https://api.didomi.io/v1/widgets/notices/configs
?organization_id=<Organization ID>
¬ice_id=<Notice ID>
{
"total": 2,
"limit": 100,
"skip": 0,
"data": [
{
"deployed_at": "2020-09-01T21:26:50.629Z",
"custom_json": { ... },
"config": { ... },
"default": false,
"platform": "web",
"targets": [],
"text_mode": "approved",
"text_id": "W37f3Bmd",
"full_atp": false,
"enable_ignore_consent_before": false,
"ignore_consent_before": null,
"negative_action": null,
"disagree_button_style": "secondary",
"country": null,
"notice_deny_applies_to_li": false,
"preferences_deny_applies_to_li": true,
"consent_duration": 12,
"consent_duration_unit": "months",
"notice_id": "GG2rdGfN",
"organization_id": "didomi",
"id": "tiYx2MWn",
"created_at": "2020-07-23T09:14:26.264Z",
"updated_at": "2020-09-01T21:26:50.701Z",
"version": 0
},
{
"deployed_at": null,
"custom_json": { ... },
"config": { ... },
"default": false,
"platform": "web",
"targets": [
"some.domain.test.exmpl"
],
"text_mode": "approved",
"text_id": "W37f3Bmd",
"full_atp": false,
"enable_ignore_consent_before": false,
"ignore_consent_before": null,
"negative_action": null,
"disagree_button_style": "secondary",
"country": null,
"notice_deny_applies_to_li": false,
"preferences_deny_applies_to_li": true,
"consent_duration": 12,
"consent_duration_unit": "months",
"notice_id": "GG2rdGfN",
"organization_id": "didomi",
"id": "2fcjz7Cw",
"created_at": "2020-09-01T21:26:50.724Z",
"updated_at": "2021-03-24T15:56:50.461Z",
"version": 0
}
]
}Modify the draft configuration
What is the config field?
Published configurations
Publish a draft configuration
Last updated