Zitadel Preview Docs

Get project

Returns the current state of a project.

GET
/projects/{project_id}

Returns the current state of a project.

Authorization

oauth2 project.write
AuthorizationBearer <token>

In: header

Scope: project.write

Path Parameters

project_id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/proj_01hexample"
{  "id": "string",  "name": "string",  "preview_origins": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}

{  "code": "auth.unauthorized",  "message": "The request lacks valid authentication credentials."}