Authentication

Authenticate user

Authenticates user credentials and generates an authentication token for further API calls. Returns MFA challenge if multi-factor authentication is enabled for the user.

post/api/auth/login

Request

Request body application/x-www-form-urlencoded

emailstring email required
passwordstring password required
remember_meboolean

Response

Authentication Token or mfa_enabled true

tokenstring required

JWT authentication token

sessionstring required

Session signature

mfa_enabledboolean

Whether MFA verification is required

user_idinteger

User ID (returned when MFA is enabled)

has_phoneboolean

Whether user has phone number for SMS MFA

force_new_passwordinteger

Whether user must reset password

reset_tokenstring

Password reset token (when force_new_password is set)

Changes

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