POST
/
api
/
v2
/
login
{
  "data": {
    "user_id": "54623566-213a-4490-9c68-ac44c39b6590",
    "auth_expired": false,
    "session_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiNTQ2MjM1NjYtMjEzYS00NDkwLTljNjgtYWM0NGMzOWI2NTkwIiwidXNlciI6ImNvb2xfdXNlckBibG9vZGhvdW5kZW50ZXJwcmlzZS5pbyIsImlhdCI6MTUxNjIzOTAyMn0.1WWo7XpE9a-v6MQ9tHC8ikxmvmS3PuD7bJyNi4hPr_Y"
  }
}

Headers

Prefer
integer
default:
0

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.

Required range: x > 0

Body

application/json
The request body for logging into the application. `secret` *or* `otp` is required, but not both.
login_method
enum<string>
required

The type of login. Currently only secret is supported.

Available options:
secret
username
string
required
secret
string

The password for the user. This field can be used instead of otp.

otp
string

The One Time Password for a single login. This field can be used instead of secret

Response

200
application/json
OK
data
object