Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Application

Create Application

Create an application. The application can be OIDC, API or SAML type, based on the input.

Required permissions:

  • project.app.write
POST
/zitadel.application.v2.ApplicationService/CreateApplication

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

The ID of the project the application will be created in.

applicationId?application_id

Optionally, provide the unique ID of the new application. If omitted, the system will generate one for you, which is the recommended way. The generated ID will be returned in the response.

name*name

Publicly visible name of the application. This might be presented to users if they sign in.

apiConfiguration*

Response Body

Success

application/json
  1. response
applicationId?application_id

The unique ID of the newly created application.

creationDate?creation_date

The timestamp of the application creation.

Formatdate-time
apiConfiguration*
Example Request
curl -X POST 'https://example.com/zitadel.application.v2.ApplicationService/CreateApplication' \  -H 'Connect-Protocol-Version: 1' \  -H 'Content-Type: application/json' \  -d '{  "apiConfiguration": {}}'
Example Response
{  "applicationId": "string",  "creationDate": "2023-01-15T01:30:15.01Z",  "apiConfiguration": {    "clientId": "string",    "clientSecret": "string"  }}

Was this page helpful?