SnozeDevelopers
API referenceAdmin

Read the caller's bootstrap and admin state

Returns whether bootstrap is still open, the caller's email, and the caller's admin record once one exists. While bootstrap is open it answers without an admin check; afterwards the caller must be a platform admin with a verified email address.

GET
/v1/admin/bootstrap

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'
Example Response
{  "data": {    "actorEmail": "string",    "bootstrapAvailable": true,    "admin": {      "id": "string",      "email": "string",      "displayName": "string",      "role": "owner",      "status": "active",      "createdAt": "string",      "activatedAt": "string"    }  }}