CreateApplication
Create Application
Create an application. The application can be OIDC, API or SAML type, based on the input.
Required permissions:
- project.app.write
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
projectId?string
The ID of the project the application will be created in.
applicationId?string
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?string
Publicly visible name of the application. This might be presented to users if they sign in.
apiConfiguration*
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://loading/zitadel.application.v2.ApplicationService/CreateApplication" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "projectId": "string", "name": "string", "apiConfiguration": {} }'{
"applicationId": "string",
"creationDate": "1s",
"apiConfiguration": {
"clientId": "string",
"clientSecret": "string"
}
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?