İçeriğe geç

Login with username and password

POST
/login
object
username
required
string
password
required
string

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