Login

Returns a user token if the given email and password are correct. If the user has multi-factor authentication enabled, this endpoints sends the OTP (one-time password) and returns `{ mfaEnabled: true, mfaMethod: _User's_MFA_Method_ }`. Another request to must be made to /v1/login/mfa/token with the correct OTP.

post/v1/login/token

Request

Request body

emailstring email required

User email

passwordstring required

User password

rememberboolean required

If true, the generated token will be valid for 30 days, otherwise it'll be valid for 1 day

Response

OK

Changes

No recorded changes to this operation across all 3 revisions of this API.