curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/projects \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"type": "website",
"contactEmails": [
"jsmith@example.com"
],
"additionalRegions": [
{
"name": "<string>",
"regions": "default",
"settings": {
"consent": {
"blockingMode": "disabled",
"consentMode": "implied",
"doNotSell": false,
"consentDuration": 6,
"gcm": "advanced",
"gpc": false,
"gcmPolicy": "https://business.safety.google/privacy",
"limitPii": false,
"microsoftUET": "disabled"
},
"crossSiteTracking": false
},
"customScript": "<string>"
}
],
"regionTemplate": {
"name": "<string>",
"regions": "default",
"customScript": "<string>",
"settings": {
"branding": {
"buttonRadius": "<string>",
"cardRadius": "<string>",
"font": "<string>",
"logoUrl": "<string>",
"primaryColor": "<string>",
"secondaryColor": "<string>",
"poweredByConcord": true
},
"consent": {
"blockingMode": "disabled",
"consentMode": "implied",
"consentBanner": {
"enabled": true,
"layout": "bar",
"position": [
"<unknown>"
],
"policy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": true,
"theme": "brand",
"closeButton": true,
"denyButton": true,
"customizeButton": true,
"showGooglePrivacyPolicy": true
},
"doNotSell": true,
"consentDuration": 123,
"gcm": "disabled",
"gpc": true,
"limitPii": true,
"microsoftUET": "disabled"
},
"crossSiteTracking": true,
"floatingButton": {
"enabled": true,
"circleOffsetX": "<string>",
"circleOffsetY": "<string>",
"tabOffsetY": "<string>",
"position": "<string>",
"theme": "brand",
"type": "circle",
"icon": "cookie"
},
"placeholders": {
"enabled": true,
"theme": "brand"
},
"privacyCenter": {
"consentHistory": true,
"disclosures": true,
"privacyRequests": true,
"doNotSellRequests": true,
"position": "<string>",
"theme": "brand"
}
},
"language": {
"enabled": true,
"defaultLanguage": "<string>"
}
},
"domains": [
"localhost"
],
"privacyPolicyUrl": "<string>",
"termsOfServiceUrl": "<string>"
}
'{
"dateCreated": 123,
"dateUpdated": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {
"trackers": {
"deepScan": true,
"realTimeScan": false,
"lastRealTimeScan": 123
}
},
"slug": "<string>",
"statusFlags": {
"isActive": true,
"isTest": true
},
"type": "website",
"default": [
"<unknown>"
],
"contactEmail": "jsmith@example.com",
"contactEmails": [
"jsmith@example.com"
],
"mode": [
"<unknown>"
],
"organization": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"status": "<string>"
},
"sendFromEmailId": "default",
"sendFromEmail": {
"id": "default",
"email": "jsmith@example.com",
"name": "<string>"
},
"status": "active"
}Create a new project in an organization
curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/projects \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"type": "website",
"contactEmails": [
"jsmith@example.com"
],
"additionalRegions": [
{
"name": "<string>",
"regions": "default",
"settings": {
"consent": {
"blockingMode": "disabled",
"consentMode": "implied",
"doNotSell": false,
"consentDuration": 6,
"gcm": "advanced",
"gpc": false,
"gcmPolicy": "https://business.safety.google/privacy",
"limitPii": false,
"microsoftUET": "disabled"
},
"crossSiteTracking": false
},
"customScript": "<string>"
}
],
"regionTemplate": {
"name": "<string>",
"regions": "default",
"customScript": "<string>",
"settings": {
"branding": {
"buttonRadius": "<string>",
"cardRadius": "<string>",
"font": "<string>",
"logoUrl": "<string>",
"primaryColor": "<string>",
"secondaryColor": "<string>",
"poweredByConcord": true
},
"consent": {
"blockingMode": "disabled",
"consentMode": "implied",
"consentBanner": {
"enabled": true,
"layout": "bar",
"position": [
"<unknown>"
],
"policy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": true,
"theme": "brand",
"closeButton": true,
"denyButton": true,
"customizeButton": true,
"showGooglePrivacyPolicy": true
},
"doNotSell": true,
"consentDuration": 123,
"gcm": "disabled",
"gpc": true,
"limitPii": true,
"microsoftUET": "disabled"
},
"crossSiteTracking": true,
"floatingButton": {
"enabled": true,
"circleOffsetX": "<string>",
"circleOffsetY": "<string>",
"tabOffsetY": "<string>",
"position": "<string>",
"theme": "brand",
"type": "circle",
"icon": "cookie"
},
"placeholders": {
"enabled": true,
"theme": "brand"
},
"privacyCenter": {
"consentHistory": true,
"disclosures": true,
"privacyRequests": true,
"doNotSellRequests": true,
"position": "<string>",
"theme": "brand"
}
},
"language": {
"enabled": true,
"defaultLanguage": "<string>"
}
},
"domains": [
"localhost"
],
"privacyPolicyUrl": "<string>",
"termsOfServiceUrl": "<string>"
}
'{
"dateCreated": 123,
"dateUpdated": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {
"trackers": {
"deepScan": true,
"realTimeScan": false,
"lastRealTimeScan": 123
}
},
"slug": "<string>",
"statusFlags": {
"isActive": true,
"isTest": true
},
"type": "website",
"default": [
"<unknown>"
],
"contactEmail": "jsmith@example.com",
"contactEmails": [
"jsmith@example.com"
],
"mode": [
"<unknown>"
],
"organization": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"status": "<string>"
},
"sendFromEmailId": "default",
"sendFromEmail": {
"id": "default",
"email": "jsmith@example.com",
"name": "<string>"
},
"status": "active"
}2 - 1024website Show child attributes
Show child attributes
localhost, 127.0.0.1, ::1 Default Response
2 - 1024Show child attributes
256Show child attributes
website Show child attributes
default Show child attributes
active, test, archived