Projects

Create new project

POST
/organizations/{organizationId}/projects

Create a new project in an organization

Authorization

ApiKeyAuth
headerx-api-key<token>

Path Parameters

organizationId*string
Formatuuid

Request Body

application/json
  1. body
name*string
Length2 <= length <= 1024
type?"website"
Value in"website"
contactEmails?array<>
additionalRegions?array<>
regionTemplate?
branding?
domains?array<|string>
privacyPolicyUrl?string
termsOfServiceUrl?string

Response Body

Default Response

application/json
  1. response
default?array<unknown>|boolean|number||string
contactEmail?string
Formatemail
contactEmails?array<>
dateCreated*integer
dateUpdated*integer
id*string
Formatuuid
mode?array<unknown>|boolean|number||string
name*string
Length2 <= length <= 1024
organizationId*string
Formatuuid
organization?
sendFromEmailId?|
Default"default"
sendFromEmail?
settings*
slug*string
Lengthlength <= 256
status?string
Value in"active""test""archived"
statusFlags*
type*"website"
Value in"website"
Example Request
curl -X POST 'https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "default": [    null  ],  "contactEmail": "user@example.com",  "contactEmails": [    "user@example.com"  ],  "dateCreated": 0,  "dateUpdated": 0,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "mode": [    null  ],  "name": "string",  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "organization": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "slug": "string",    "status": "string"  },  "sendFromEmailId": "default",  "sendFromEmail": {    "id": "default",    "email": "user@example.com",    "name": "string"  },  "settings": {    "branding": {      "buttonRadius": "string",      "cardRadius": "string",      "font": "string",      "logoUrl": "string",      "iconUrl": "string",      "primaryColor": "string",      "secondaryColor": "string",      "poweredByConcord": true    },    "trackers": {      "autoAddTrackers": true,      "autoAddRealTimeTrackers": false,      "deepScan": true,      "realTimeScan": false,      "lastRealTimeScan": 0    }  },  "slug": "string",  "status": "active",  "statusFlags": {    "isActive": true,    "isTest": true  },  "type": "website"}