Skip to main content
POST
Generate translations

Authorizations

Authorization
string
header
required

API token from your organization settings

Body

application/json
targetLanguage
string
required

The language code to translate to (e.g., "fr-FR", "es-ES", "de-DE")

Example:

"fr-FR"

sourceLanguage
string
required

The language code of the source text (e.g., "en-US", "fr-FR", "es-ES")

Example:

"en-US"

textsToTranslate
string[]
required

Array of text strings to translate

Example:
useOrgDescription
boolean
default:true

Use organization description for context

useGlossary
boolean
default:true

Use organization glossary for consistent terminology

useSimilarity
boolean
default:true

Use similarity matching for better translations

useCustomInstructions
boolean
default:true

Use custom translation instructions

instructionsSource
string
default:github

Source of custom instructions

instructionsBundle
string
default:""

Bundle name for instructions

instructionsRepository
string
default:""

Repository name for instructions

additionalInstructions
string
default:""

Additional custom instructions

Response

Translations generated successfully

Example: