Appearance
Authenticate user credentials
POST
/api/v1/auth/login
Validate email and password, returning a JWT access token on success. If the user has 2FA enabled, returns a temporary token and triggers the 2FA verification flow instead.
Request Body
application/json
JSON "email": "string", "password": "string"
{
}
Responses
Successful Response
application/json
JSON "access_token": "string", "token_type": "bearer", "two_factor_required": false, "two_factor_setup_required": false, "two_factor_method": "string", "temp_token": "string"
{
}