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/registerPOST /v1/auth/loginGET /v1/auth/me
API Authorization header
Authorization: Bearer <TOKEN_OR_API_KEY>Scope model
Common scopes:
api_keys:readapi_keys:writeprinters:readcomputers:readprint:readprint:create