Request
POST /auth/login
string
required
The email address of the account.
string
required
The account password.
string
Override the session role for this login. Accepted values:
USER, RIDER, DRIVER, ADMIN. Falls back to the role stored on the account if omitted or unrecognized.Response
string
A signed JWT to include in the
Authorization: Bearer <token> header of subsequent requests.string
A token you can exchange for a new access token via Refresh Token.
string
Always
"Bearer".number
Number of seconds until the access token expires.
string
The display name of the authenticated user.
string
The effective role for this session.
number
The numeric ID of the authenticated user.