Zitadel Preview Docs

Create project

POST
/projects

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/projects" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string",  "projectSecret": "string",  "previewSecret": "string",  "previewOrigins": [    "string"  ],  "createdAt": "2019-08-24T14:15:22Z"}
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}