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",  "project_secret": "string",  "preview_secret": "string",  "preview_origins": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z"}
{  "code": "string",  "message": "string",  "details": {}}

{  "code": "enc_key.decrypt_failed",  "message": "failed to decrypt data"}