curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/projects/{projectId}/regions/{regionId}/languages \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"name": "<string>",
"regions": "default",
"settings": {
"consent": {
"blockingMode": "disabled",
"consentMode": "implied",
"doNotSell": false,
"consentDuration": 12,
"gcm": "advanced",
"gpc": false,
"consentBanner": {
"enabled": true,
"layout": "bar",
"title": true,
"theme": "light",
"closeButton": true,
"denyButton": true,
"customizeButton": true,
"position": [
"<unknown>"
],
"policy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"name": "<string>",
"description": "<string>",
"createdAt": [
"<unknown>"
],
"updatedAt": [
"<unknown>"
],
"organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "disclosure",
"subcategory": [
"<unknown>"
],
"label": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"document": "<string>",
"url": "<string>",
"readOnly": false,
"validStates": [
"implied"
],
"status": "active",
"consentDuration": "<string>",
"required": false,
"requireReacceptVersion": 123
},
"showGooglePrivacyPolicy": true
},
"gcmPolicy": "https://business.safety.google/privacy",
"limitPii": false
},
"branding": {
"buttonRadius": "6px",
"cardRadius": "6px",
"font": "Arial",
"logoUrl": "<string>",
"primaryColor": "<string>",
"secondaryColor": "<string>",
"poweredByConcord": true
},
"crossSiteTracking": false,
"floatingButton": {
"enabled": true,
"circleOffsetX": "24px",
"circleOffsetY": "24px",
"tabOffsetY": "256px",
"position": "right",
"theme": "light",
"type": "circle",
"icon": "cookie"
},
"placeholders": {
"enabled": true,
"theme": "light"
},
"privacyCenter": {
"consentHistory": true,
"disclosures": true,
"privacyRequests": true,
"doNotSellRequests": true,
"position": "right",
"theme": "classic"
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": 123,
"dateUpdated": 123,
"slug": "<string>",
"customScript": "<string>",
"language": {
"enabled": false
}
}Enables or disables the multi-language support and translates English language settings to the preset target languages.
curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/projects/{projectId}/regions/{regionId}/languages \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"name": "<string>",
"regions": "default",
"settings": {
"consent": {
"blockingMode": "disabled",
"consentMode": "implied",
"doNotSell": false,
"consentDuration": 12,
"gcm": "advanced",
"gpc": false,
"consentBanner": {
"enabled": true,
"layout": "bar",
"title": true,
"theme": "light",
"closeButton": true,
"denyButton": true,
"customizeButton": true,
"position": [
"<unknown>"
],
"policy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"name": "<string>",
"description": "<string>",
"createdAt": [
"<unknown>"
],
"updatedAt": [
"<unknown>"
],
"organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "disclosure",
"subcategory": [
"<unknown>"
],
"label": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"document": "<string>",
"url": "<string>",
"readOnly": false,
"validStates": [
"implied"
],
"status": "active",
"consentDuration": "<string>",
"required": false,
"requireReacceptVersion": 123
},
"showGooglePrivacyPolicy": true
},
"gcmPolicy": "https://business.safety.google/privacy",
"limitPii": false
},
"branding": {
"buttonRadius": "6px",
"cardRadius": "6px",
"font": "Arial",
"logoUrl": "<string>",
"primaryColor": "<string>",
"secondaryColor": "<string>",
"poweredByConcord": true
},
"crossSiteTracking": false,
"floatingButton": {
"enabled": true,
"circleOffsetX": "24px",
"circleOffsetY": "24px",
"tabOffsetY": "256px",
"position": "right",
"theme": "light",
"type": "circle",
"icon": "cookie"
},
"placeholders": {
"enabled": true,
"theme": "light"
},
"privacyCenter": {
"consentHistory": true,
"disclosures": true,
"privacyRequests": true,
"doNotSellRequests": true,
"position": "right",
"theme": "classic"
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": 123,
"dateUpdated": 123,
"slug": "<string>",
"customScript": "<string>",
"language": {
"enabled": false
}
}The body is of type object.
Default Response
256default Show child attributes
Show child attributes
disabled, discovery, permissive, strict implied, express x >= 0disabled, basic, advanced Show child attributes
bar, box brand, light, dark Show child attributes
1002000disclosure, communication, privacy_setting, custom 1281285000000implied, viewed, accepted, declined active, archived, obsolete, test Show child attributes
Arial, Copperplate, Courier New, Garamond, Georgia, Helvetica, Impact, Palatino, Papyrus, Tahoma, Times New Roman, Trebuchet MS, Verdana Show child attributes
brand, light, dark circle, tab cookie, fingerprint, shield Show child attributes
brand, light, dark, classic 25610240