Login with username and password
POST /login
POST
/login
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
username
required
string
password
required
string
Responses
Section titled “ Responses ”Login successful. If OTP is not configured: returns tokens. If OTP is configured: returns otp_required: true — call /validate next.
object
access_token
Present when OTP is not required
string
refresh_token
Present when OTP is not required
string
expire-seconds
Present when OTP is not required
activeSpace
Present when OTP is not required
string
spaces
Present when OTP is not required
otp_required
True when OTP verification is needed
boolean
otp_type
MAIL or SMS
string
username
Pass this to /validate
string
Invalid credentials