POST api/v1.1/authenticate
Responds to POST request containing "Authorization: Basic {ApiKey}" header.
Your can get API key for your app (ApiKey) on your app page.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns API token on successfull authentication. Token must be used in Bearer Authorization header in every translation API request.
In case of unsuccessfull authentication returns 401 Unauthorized error.
Token TTL is 24 hours. After 24 hours or when your receive 401 Unauthorized response for translation methods you have to call this method again and get new token.
Response Formats
text/json, application/json
Sample:
ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SmxlSEFpT2pFME56ZzNOelkyTkRjc0lrMXZaR1ZzSWpwN0lrTm9ZWEpoWTNSbGNuTlFaWEpFWVhraU9qVXdNREF3TENKVmMyVnlTV1FpT2pNNExDSlZibWx4ZFdWSlpDSTZJbU0yWVRNM01XTmhMVEpsT0RZdE5EQmpOeTFoTXpjNUxUUTPObVZoTmpjeFlXRm1aQ0o5ZlEuQzN