/bff/translate/text
Translates the given text to the target locale using AI. Source locale is auto-detected if not provided. Token usage is tracked per organisation.
TranslatepostBffTranslateText
Parameters
3 body
Body · 3
textstringRequiredThe text to translate.
targetLocalestringRequiredTarget locale code (e.g. "en", "de", "cs").
sourceLocalestringSource locale code. If omitted, the language is auto-detected.
Request
POST /bff/translate/text
curl -X POST "https://api.bizkithub.com/bff/translate/text" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"text": "Dobrý den",
"targetLocale": "en",
"sourceLocale": "cs"
}'Response
JSON payload
{
"translated": "example_translated"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.