Skip to main content

Get Profile

GET 

/api/auth/profile

Returns the authenticated user's profile information along with a top-level is_production_server flag indicating whether the server is running in production (used by the SPA to gate sandbox-environment UI affordances).

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token.

Response flags:

  • is_production_server (boolean) — true when this pod is the production environment.
  • features (object) — per-account feature-flag map (same as GET /api/features); each value is a boolean.
  • preferences (object) — the user's display preferences in this account (same shape as GET /api/me/preferences).
  • preferences_session_override (boolean) — true for a support session opened from a one-time login link; clients should keep preference changes local for that session rather than saving them.

Request​

Responses​

OK

Response Headers
    Content-Type