Get an application by 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.
AuthorizationBearer <token>Scope: application.read
application_id*stringThe application ID: the id that publishApplication (POST /applications) returns.
project_id*stringThe 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.
^[a-zA-Z0-9_-]+$The application.
application/json- response
An application at its newest revision, with its document as definition.
It never carries a client secret.
id*stringA unique ID, generated when the application is created and shared by every revision.
revision_id*stringThe ID of the revision this entry holds. getApplication
(GET /applications/{application_id}) returns the newest one.
slug*stringThe identifier by which other documents reference the application. Fixed for the life of the application.
declared*booleanTrue 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*stringWhen the application was created.
date-timeupdated_at*stringWhen this revision was created. On the newest revision, that is when the application was last revised.
date-timedefinition*The stored application document, with each client's client_id.
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" },);{ "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?