Skip to main content
POST
Create a project

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Body

application/json
name
string
required
Required string length: 2 - 50
Example:

"Production"

Response

Project created

id
string
name
string
slug
string
createdAt
string<date-time>
apiKey
string | null

Project-scoped API key (oc_…) for the new project, seeded for the creating user. Save it — it is only returned here.