Skip to main content
POST
Before call make sure that AI Translate feature enabled on admin dashboard, otherwise you will get 405 error.
Supported language codes:

Body Params

string
required
AI Agent id.
string
required
Text to translate. The maximum length for the text is 2000 symbols.
string
required
Translation language code. Defaults to en.

Headers

string
required
A user or application session token. See Authentication page to learn more about session tokens.

Responses

A successful response
string
An error response
array of strings
An error response
array of strings
An error response
array of strings