Retrieves the cookie banner settings.
Language code in ISO 639-1 format, to return translated texts. All languages supported by Wix Multilingual can be passed.
Cookie banner settings.
Translated texts, if requested.
curl POST 'https://wixapis.com/cookie-consent/v1/cookie-banner-settings/get/<languageCode>’ \
-H 'Authorization: <AUTH>' \
{
"settings": {
"cookiePolicyRequirementApproved": false,
"declineAllConfig": null,
"expiryDate": "1970-01-01T00:00:00Z",
"texts": {},
"theme": "light",
"revisitSettingsConfig": null,
"customThemeConfig": null,
"enabled": false,
"privacyPolicyPageInfo": null
}
"translations": {
"accept.cookies.button": "Accept",
"advanced.category.analytics.headline": "Enable Analytics Cookies",
"advanced.category.analytics.paragraph": "These cookies help us to understand how visitors interact with our website, discover errors and provide a better overall analytics.",
"advanced.category.essential.headline": "Essential Cookies",
"advanced.category.essential.paragraph": "These cookies enable core functionality such as security, verification of identity and network management. These cookies can’t be disabled.",
"advanced.category.functional.headline": "Enable Functional Cookies",
"advanced.category.functional.paragraph": "These cookies collect data to remember choices users make to improve and give a more personalised experience. ",
"advanced.category.marketing.headline": "Enable Marketing Cookies",
"advanced.category.marketing.paragraph": "These cookies are used to track advertising effectiveness to provide a more relevant service and deliver better ads to suit your interests.",
"decline.all.button": "Decline All",
"display.save.default": "Save",
"open.settings.button": "Settings",
"policy.banner.text": "We use cookies on our website to see how you interact with it. By accepting, you agree to our use of such cookies.sddc ",
"policy.external.url": " ",
"revisit.settings.text": "Cookie settings",
"view.privacy.policy": "Privacy Policy"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.