Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Project

Get Project

Returns the project identified by the requested ID.

Required permission:

  • project.read
POST
/zitadel.project.v2.ProjectService/GetProject

Header Parameters

Connect-Protocol-Version*1

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?Connect-Timeout-Ms

Define the timeout, in ms

Request Body

application/json
  1. body
projectId*project_id

ProjectID is the unique identifier of the project to be retrieved.

Response Body

Success

application/json
  1. response
project?

Project is the project that matches the project ID used in the request.

Example Request
curl -X POST 'https://example.com/zitadel.project.v2.ProjectService/GetProject' \  -H 'Connect-Protocol-Version: 1' \  -H 'Content-Type: application/json' \  -d '{  "projectId": "string"}'
Example Response
{  "project": {    "projectId": "string",    "organizationId": "string",    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "name": "string",    "state": "PROJECT_STATE_UNSPECIFIED",    "projectRoleAssertion": true,    "authorizationRequired": true,    "projectAccessRequired": true,    "privateLabelingSetting": "PRIVATE_LABELING_SETTING_UNSPECIFIED",    "grantedOrganizationId": "string",    "grantedOrganizationName": "string",    "grantedState": "GRANTED_PROJECT_STATE_UNSPECIFIED"  }}

Was this page helpful?