Get claim status
Polled by the CLI while a browser completes the claim. Authorized by the
project secret that initiated the challenge. Returns pending, or
completed with the owning team, the claim timestamp, and the dashboard
URL once the project is claimed. The claim grant, not the polled
challenge, is the source of truth: a project claimed through another
concurrent challenge also reports completed, and a completed claim
keeps reporting completed past this challenge's expiry and past the
project's claim window.
oauth2 project.writeAuthorizationBearer <token>Scope: project.write
project_id*stringThe unique identifier of the project.
^[a-zA-Z0-9_-]+$challenge_id*stringThe challenge minted by the matching claim init, as the claim URL carries it.
^ch_[a-zA-Z0-9_-]+$Claim status.
application/json- response
A claim challenge that is still awaiting the browser leg.
status*"pending"The claim has not completed yet.
"pending"import { createZitadelClient } from "@zitadel/api/client";const client = createZitadelClient({ baseUrl: process.env.ZITADEL_URL ?? "http://localhost:8080", token: process.env.ZITADEL_PROJECT_SECRET!, // server-side only});const claimStatus = await client.getClaimStatus( "proj_01KWH1P4MYS7F0N9WD3P2E4YM5", { challenge_id: "ch_01J0Z9KX7Y0Q2Y7JX5M9K2YF3C" },);{ "status": "pending"}Was this helpful?