Authentication

Authentication

PrintBase supports two auth modes:

  • User JWT: for Console/Web user sessions
  • API Key (pb_live_*): for backend integrations

User JWT endpoints

  • POST /v1/auth/register
  • POST /v1/auth/login
  • GET /v1/auth/me

API Authorization header

Authorization: Bearer <TOKEN_OR_API_KEY>

Scope model

Common scopes:

  • api_keys:read
  • api_keys:write
  • printers:read
  • computers:read
  • print:read
  • print:create
Authentication