Auth API
Login
All authentication flows through the OPS hub at cronozen.com.
POST /api/auth/login
Authenticate and receive a JWT token.
Request:
Response:
GET /api/auth/me
Get current authenticated actor’s info with tenant context.
Headers:
Response:
POST /api/auth/switch-center
Switch the current tenant context.
Request:
Response:
The actor must have an ACTIVE membership in the target center. Switching to a center without membership returns 403 Forbidden.