/v1/apps/{app_id}/setup-statusAuthGet the setup checklist for an app: what works, what is missing, and where to fix it.
Rows, in order: `signups` (attention while sign-ups are off), `redirect_origins` (blocked until at least one site may start sign-in), one `provider_<id>` row per switched-on sign-in provider (blocked while its status is blocked), `email` (sender chosen and a template for every email; attention while emails are off), `api_key` (attention until an active app key exists), `webhook` (attention until an endpoint has accepted a delivery), and `passkeys` (only while passkeys are on; blocked when no allowed redirect origin is on the passkey site). `complete` is true once no row is `not_set` or `blocked`. Each `fix.href` is a console path to the exact setting. Computed on every request from stored settings, plus the workspace default sender read from Mail with your own access when emails use it: nothing here calls DNS or a sign-in provider (a provider whose last credential check was rejected shows as blocked). A ready provider row carries `test.action: sign_in.try`: run it with `POST /v1/apps/{appId}/sign-in-tests` `{ method: "oauth", provider }`.
Path parameters
app_id*stringId of the app.
Response · 200 The checklist, computed now.
checked_at*string · date-timeWhen the server computed these rows.
Example: "2026-10-16T12:00:00.000Z"
complete*booleanTrue when no row is `not_set` or `blocked`. `attention` rows do not stop setup from being complete.
Example: false
rows*arrayChecklist rows in the order they should be shown.
Example
Request
GET https://api.auth.productcraft.co/v1/apps/{app_id}/setup-status
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
const setupStatus = await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").setupStatus.retrieve();auth.admin.app(…).setupStatus.retrieve(options?): Auth.SetupStatus
Response
{
"checked_at": "2026-10-16T12:00:00.000Z",
"complete": false,
"rows": [
{
"id": "redirect_origins",
"title": "Sites allowed to start sign-in",
"state": "blocked",
"detail": "No site is allowed to start sign-in, so web sign-in is refused. Add the origin of your site, for example https://app.example.com.",
"fix": {},
"test": {}
}
]
}