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

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

Headers

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

Responses

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