ZitadelDocs

Get project

Returns the current state of a project.

GET
/projects/{project_id}

Returns the current state of a project.

Authorization

headerAuthorizationBearer <token>

Scope: project.write

Path Parameters

project_id*string
Match^[a-zA-Z0-9_-]+$

Response Body

Project state.

application/json
  1. response

The current state of a project.

id*string

The unique identifier of the project.

name*string

The name of 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
updated_at*string

The time when the project was last updated.

Formatdate-time
password_hash?|

The method this project's passwords are hashed with. Null when the project uses the server default.

curl -X GET 'https://example.com/projects/string'
{  "id": "string",  "name": "string",  "preview_origins": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "password_hash": {    "algorithm": "argon2i",    "params": {      "time": 0,      "memory": 0,      "threads": 0,      "cost": 0,      "rounds": 0,      "hash": "sha1"    }  }}