API referenceSections

Check the one-time setup token and get the email given to the installer

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/setup-hint

Check the one-time setup token and get the email given to the installer (ADR 0057); only for the token's holder and only until the first admin exists. Wrong tokens count against the setup rate limit

No authentication.

Request body

required

Content type: application/json

object
  • no other properties
  • token string required
Example
{
  "token": "string"
}

Responses

200 The token is right

Content type: application/json

object
  • admin_email_hint string optional
Example
{
  "admin_email_hint": "string"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required