Detecting language please wait for.......
You are currently reviewing an older revision of this page.
Each call to the API must have an authorization token, by which the API service will determine if the request is authorized. There are two methods to retrieve an authentication token:
Tokens are valid for 24 hours.
Our recommendation for machine to machine workflows where individual users is not involved is to use authentication via API Credentials.
For both authentication flows, the best would be to generate a token once and store it, then only request a new one when the token expires. This way you will get the best performance possible, as your application will not make an extra request for every translation call (This extra request will add up after a while if the application has high translation needs).