Docs

Get an application by ID

GET
/applications/{application_id}

Returns an application that authenticates its users via Zitadel, by ID at its newest revision, with each client's client_id in definition. It never returns a client secret: publishApplication (POST /applications) shows one once, when it creates the client.

The lookup is scoped to the project in project_id.

Authorization

headerAuthorizationBearer <token>

Scope: application.read

Path Parameters

application_id*string

The application ID: the id that publishApplication (POST /applications) returns.

Query Parameters

project_id*string

The project ID: the id that createProject (POST /projects) returns. zitadel setup prints it as "Project id" in its summary and as project_id with --json, and writes it to .env.local as ZITADEL_PROJECT_ID.

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

Response Body

The application.

application/json
  1. response

An application at its newest revision, with its document as definition. It never carries a client secret.

id*string

A unique ID, generated when the application is created and shared by every revision.

revision_id*string

The ID of the revision this entry holds. getApplication (GET /applications/{application_id}) returns the newest one.

slug*string

The identifier by which other documents reference the application. Fixed for the life of the application.

declared*boolean

True when a release declares the application, from a file under .zitadel/applications/, and only a deploy revises it. False when it was registered through createApplication (POST /applications).

created_at*string

When the application was created.

Formatdate-time
updated_at*string

When this revision was created. On the newest revision, that is when the application was last revised.

Formatdate-time
definition*

The stored application document, with each client's client_id.

Example Request
import { configureZitadel, getApi } from "@zitadel/api/config";// In the browser, through the SDK proxy: the session cookie authenticates the call.const client = getApi(configureZitadel({ projectId: "proj_01KWH1P4MYS7F0N9WD3P2E4YM5" }));const application = await client.getApplication(  "app_01KWH3B72K7M7F0N9WD3P2E4YM",  { project_id: "proj_01KWH1P4MYS7F0N9WD3P2E4YM5" },);
Example Response
{  "id": "app_01KWH3B72K7M7F0N9WD3P2E4YM",  "revision_id": "apprev_01KWH3B72K7M7F0N9WD3P2E4YN",  "slug": "shop",  "declared": false,  "created_at": "2026-11-06T09:11:00Z",  "updated_at": "2026-11-06T09:11:00Z",  "definition": {    "slug": "shop",    "name": "Shop",    "clients": [      {        "slug": "web",        "client_id": "client_01KWH3B72K7M7F0N9WD3P2E4YP",        "type": "confidential",        "grant_types": [          "authorization_code",          "refresh_token"        ],        "redirect_uris": [          "https://shop.example.com/callback",          "http://localhost:3000/callback"        ]      }    ]  }}

Was this helpful?