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.
Check authentication GET api/2.0/authentication Checks if the current user is authenticated or not.
Log out POST api/2.0/authentication/logout Logs out of the current user account.
Open confirmation email URL POST api/2.0/authentication/confirm Opens a confirmation email URL to validate a certain action (employee invitation, portal removal, phone activation, etc.).
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 current user.