Authorization: Bearer header on every authenticated request. No API key or additional setup is required — a valid username and password are all you need to get started.
This is a public endpoint. No authentication header is required to call it.
Request Body
Request Example
Response — 200 OK
A successful login returns a JWT token alongside a summary of the authenticated user’s identity and permissions.A signed JWT access token. Include this value in the
Authorization: Bearer <token> header on all subsequent authenticated requests. Tokens expire after 7 days.Response Example
Error Responses
Notes
This endpoint is also available as
POST /staff/login, which is an aliased route with identical behavior. Both paths accept the same request body and return the same response schema.