Ollang API Reference
Import Content
Import translation units into your content database
POST
Import translation units (source text + target text pairs) into your content database. This is useful for bulk-loading translations from external systems, TMS exports, or programmatic workflows. Imported content terms become immediately available in the Content Management page and can be exported, tagged, and edited.Documentation Index
Fetch the complete documentation index at: https://api-docs.ollang.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
This endpoint requires API key authentication. Include your API key in the request header:- Header name:
X-Api-Key - Header value: Your API key from the Ollang dashboard
Body Parameters
The target language code for all translations in this import batch (e.g.,
de, fr, ja). All translation units in the translations array must be
in this language.Array of translation units to import. Each unit represents a source-target text pair.
Behavior
- If a content term with the same
sourceTextalready exists, a new target entry for the specified language is added (or the existing one is updated). - If the
sourceTextdoes not exist, a new content term is created with the provided translation. - Import is idempotent for the same
sourceText+targetLanguagecombination — re-importing updates the target text.
Response
Whether the import completed successfully.
The number of translation units that were processed.