SnozeDevelopers
API referenceAdmin

Report whether the admin console still needs bootstrapping

Returns the number of platform admin accounts and whether first-run bootstrap is still open. Intentionally unauthenticated: the setup screen probes it before any admin exists, and it exposes nothing beyond that count.

GET
/v1/admin/bootstrap-status

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.snoze.dev/v1/admin/bootstrap-status'
Example Response
{  "data": {    "bootstrapAvailable": true,    "adminCount": 0  }}