ZitadelDocs

Create project

POST
/projects

Request Body

application/json
  1. body
name*string

The name of the project.

preview_origins?array<string>

Origins which are allowed for previewing and testing the project.

seed_defaults?boolean

Whether the server should provision fallback default user schema and flow resources for the project. CLI-managed projects set this to false and upload their local .zitadel config files through the schema and flow APIs.

Defaulttrue

Response Body

The project was created successfully

application/json
  1. response
id*string

The unique identifier of the project.

name*string

The name of the project.

project_secret*string

Secret which can be used for authentication when modifying the project.

preview_secret*string

Secret which can be used for previewing and testing the project.

preview_origins*array<string>

Origins which are allowed for previewing and testing the project.

created_at*string

The time when the project was created.

Formatdate-time
curl -X POST 'https://example.com/projects' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
{  "id": "string",  "name": "string",  "project_secret": "string",  "preview_secret": "string",  "preview_origins": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z"}