Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Create Application (API)

Deprecated: Use CreateApplication instead to create an API application

Create a new API client. The client id will be generated and returned in the response. Depending on the chosen configuration also a secret will be generated and returned.

POST
/management/v1/projects/{project_id}/apps/api

Path Parameters

project_id*project_id

Request Body

application/json
  1. body
name*name
authMethodType?auth_method_type
Value in"API_AUTH_METHOD_TYPE_BASIC""API_AUTH_METHOD_TYPE_PRIVATE_KEY_JWT"

Response Body

Success

application/json
  1. response
appId?app_id
details?
clientId?client_id
clientSecret?client_secret
Example Request
curl -X POST 'https://example.com/management/v1/projects/string/apps/api' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response200
{  "appId": "string",  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  },  "clientId": "string",  "clientSecret": "string"}

Was this page helpful?