authentication

Authorization for api

Name Resource Description
Authenticate me POST api/2.0/authentication Gets authentication token for use in api authorization
Authenticate me POST api/2.0/authentication/{code} Gets two-factor authentication token for use in api authorization
Send sms code POST api/2.0/authentication/sendsms Send sms code again
Save mobile phone POST api/2.0/authentication/setphone Set mobile phone for user