Organizations
Create organization
Creates a new organization.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "primaryDomain": "localhost" }'{ "createdAt": [ null ], "updatedAt": [ null ], "defaultProjectId": [ null ], "billingEmails": [ null ], "billingPhoneNumber": [ null ], "billingAddress": [ null ], "subscription": [ null ], "hashSalt": [ null ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "consentSyncProjectIds": [], "consentSyncScope": "all", "name": "string", "dateCreated": 0, "dateUpdated": 0, "primaryDomain": "string", "slug": "string", "projects": [ { "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" } ], "status": "active", "statusDate": 0, "statusFlags": { "isActive": true }, "features": "26ab6f9b-05df-4b4e-b7c6-e1daa3249f9b", "stripe": { "privacy": { "customerId": "string", "subscriptionId": "string", "clientSecret": "string" }, "trust": { "customerId": "string", "subscriptionId": "string", "clientSecret": "string" }, "privacyError": "string", "trustError": "string", "setupIntentClientSecret": "string", "customerId": "string" }}