Create a project

View as Markdown

Creates a standalone project, or one from a template (which additionally requires project-template:use on the template). Requires project:create.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Request

This endpoint expects an object.
namestringRequired1-120 characters
iconstringRequired1-64 characters
descriptionstringOptional<=2000 charactersDefaults to
prefixstringOptionalformat: "^[A-Za-z][A-Za-z0-9]+$"2-6 characters
templateIdstringOptional>=1 character
accessobjectOptional
sectionslist of objectsOptional
storageBackendobjectOptional

Response

The created project.
projectobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error