Create organization
curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"privacyPolicyUrl": "<string>",
"contactEmails": [
"jsmith@example.com"
],
"coupons": [
"<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": {
"consentBanner": {
"enabled": true,
"position": [
"<unknown>"
],
"policy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": true,
"closeButton": true,
"denyButton": true,
"customizeButton": true,
"showGooglePrivacyPolicy": true
},
"doNotSell": true,
"consentDuration": 123,
"gpc": true,
"limitPii": true
},
"crossSiteTracking": true,
"floatingButton": {
"enabled": true,
"circleOffsetX": "<string>",
"circleOffsetY": "<string>",
"tabOffsetY": "<string>",
"position": "<string>"
},
"placeholders": {
"enabled": true
},
"privacyCenter": {
"consentHistory": true,
"disclosures": true,
"privacyRequests": true,
"doNotSellRequests": true,
"position": "<string>"
}
},
"language": {
"enabled": true,
"defaultLanguage": "<string>"
}
},
"organizationSlug": "<string>",
"termsOfServiceUrl": "<string>"
}
'{
"name": "<string>",
"dateCreated": 123,
"dateUpdated": 123,
"primaryDomain": "<string>",
"slug": "<string>",
"statusDate": 123,
"statusFlags": {
"isActive": true
},
"createdAt": [
"<unknown>"
],
"updatedAt": [
"<unknown>"
],
"defaultProjectId": [
"<unknown>"
],
"billingEmails": [
"<unknown>"
],
"billingPhoneNumber": [
"<unknown>"
],
"billingAddress": [
"<unknown>"
],
"subscription": [
"<unknown>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projects": [
{
"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",
"features": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stripe": {
"customerId": "<string>",
"subscriptionId": "<string>",
"clientSecret": "<string>"
}
}Organizations
Create organization
Creates a new organization.
POST
/
organizations
Create organization
curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"privacyPolicyUrl": "<string>",
"contactEmails": [
"jsmith@example.com"
],
"coupons": [
"<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": {
"consentBanner": {
"enabled": true,
"position": [
"<unknown>"
],
"policy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": true,
"closeButton": true,
"denyButton": true,
"customizeButton": true,
"showGooglePrivacyPolicy": true
},
"doNotSell": true,
"consentDuration": 123,
"gpc": true,
"limitPii": true
},
"crossSiteTracking": true,
"floatingButton": {
"enabled": true,
"circleOffsetX": "<string>",
"circleOffsetY": "<string>",
"tabOffsetY": "<string>",
"position": "<string>"
},
"placeholders": {
"enabled": true
},
"privacyCenter": {
"consentHistory": true,
"disclosures": true,
"privacyRequests": true,
"doNotSellRequests": true,
"position": "<string>"
}
},
"language": {
"enabled": true,
"defaultLanguage": "<string>"
}
},
"organizationSlug": "<string>",
"termsOfServiceUrl": "<string>"
}
'{
"name": "<string>",
"dateCreated": 123,
"dateUpdated": 123,
"primaryDomain": "<string>",
"slug": "<string>",
"statusDate": 123,
"statusFlags": {
"isActive": true
},
"createdAt": [
"<unknown>"
],
"updatedAt": [
"<unknown>"
],
"defaultProjectId": [
"<unknown>"
],
"billingEmails": [
"<unknown>"
],
"billingPhoneNumber": [
"<unknown>"
],
"billingAddress": [
"<unknown>"
],
"subscription": [
"<unknown>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projects": [
{
"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",
"features": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stripe": {
"customerId": "<string>",
"subscriptionId": "<string>",
"clientSecret": "<string>"
}
}Authorizations
Body
application/json
The name of the new organization
Required string length:
2 - 1024Available options:
localhost, 127.0.0.1, ::1 Maximum string length:
32Show child attributes
Show child attributes
Maximum string length:
256Show child attributes
Show child attributes
Response
Default Response
Required string length:
2 - 1024Maximum string length:
256Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
active, suspended, disabled, deleted Show child attributes
Show child attributes
⌘I