DocsAPI ReferenceTranslate/bff/translate/text
postTranslateAdmin BFF

/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

3 total
Body · 3
textstringRequired

The text to translate.

targetLocalestringRequired

Target locale code (e.g. "en", "de", "cs").

sourceLocalestring

Source locale code. If omitted, the language is auto-detected.

Request

POST /bff/translate/text

post
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.

Get API Key