Translate

Translate text from one language to another.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
textstringRequired
The text to translate.
source_langstringRequired
The source language of the text.
target_langstringRequired
The target language for the translation.
use_third_party_enginebooleanOptional

Enables/disables third party translations.

Response

Successful response.
idstring or null
Unique ID for the translation.
objectstring or null

Type of object (translation).

createdinteger or null
Timestamp of when the translation was created.
best_translationstring or null
The best translation of the input text.
best_scoredouble or null
The best score for the best translation.
best_translation_modelstring or null
The model used for the best translation.
translationslist of objects or null
The set translations from different models.

Errors