Deprecated Legacy API

Authentication API v2


Most of the APIs require an authenticated user who is identified by a token. To get a token, call the following API, and use the returned value in all subsequent calls. Each token is valid for 24 hours.

action: api/v2/auth/login
    username                    string                             
    password                    string

response: JSON
      "role":"Admin",                                 // Admin, Linguist, ProjectManager

Who Am I

This API call can be used to test if the previous auth/login call went ok. This API does not bring any essential functionality. Still, it may useful during development.

action: api/v2/auth/whoAmI
    token                      string

response: JSON
      "username": "alice"


action: api/v2/auth/logout
    token                      string

response: empty
Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question you can leave a public comment below or Submit a request to our Support team.
Thank you for your feedback.



Article is closed for comments.