Returns access token, given a username and password

Prev Next
Post
/api/v1/otalogin
Body parameters
object
password
string
totp
string
username
string
Responses
200

OK

Expand All
object
data
object
access_expires_in
integer
access_token
string
refresh_expires_in
integer
refresh_token
string
error_code
integer | null
error_message
string | null
error_status
boolean
Examplefalse
400

Bad Request

Expand All
object
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
401

Unauthorized

object
password
string
totp
string
username
string
422

Unprocessable Entity

object
password
string
totp
string
username
string