Login with email + password
POST /api/v2/auth/login
POST
/api/v2/auth/login
Returns a JWT access token. tenantId is optional; if omitted
and the user belongs to multiple tenants, the returned token is
partial — call /select-tenant before tenant-scoped APIs.
Request Body required
Sección titulada «Request Body required »object
email
required
string format: email
Example
operator@example.com password
required
string format: password
tenantId
Optional. If user has multiple memberships and tenantId is omitted, the response is a partial token.
string
Responses
Sección titulada « Responses »Authenticated
object
accessToken
string
refreshToken
string
partial
True when the token is tenant-less and /select-tenant is required next.
boolean
stale
True when membership data has changed and re-authentication is recommended.
boolean
Authentication required or invalid
object
error
string
Example
unauthorized message
string