authentication

Authorization API.

Name Resource Description
Authenticate a user POST api/2.0/authentication Authenticates the current user by SMS, authenticator app, or without two-factor authentication.
Authenticate a user by code POST api/2.0/authentication/{code} Authenticates the current user by SMS or two-factor authentication code.
Send SMS code POST api/2.0/authentication/sendsms Sends SMS with an authentication code.
Set a mobile phone POST api/2.0/authentication/setphone Sets a mobile phone for the user with the name specified in the request.