Create a new project and topic chats with for both reviewers and creators.
Requires `canCreateProject` on the target workspace and an active workspace subscription. Returns `maxProjectsPerWorkspace` (400) when the workspace has reached its plan's project cap and `projectNameTaken` (400) when a project with the same slug already exists in the workspace.
Requires canCreateProject on the target workspace and an active workspace subscription. Returns maxProjectsPerWorkspace (400) when the workspace has reached its plan's project cap and projectNameTaken (400) when a project with the same slug already exists in the workspace.
Authorization
bearerAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/projects" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c", "name": "string", "slug": "string", "color": "string", "logo": "3c06f846-1ab1-40a9-8645-a19a9fdeae85", "settings": {}, "status": "active", "createdAt": 1678886400000, "updatedAt": 1678886400000}