Skip to main content
GET
/
integration
/
content
/
export
curl -X GET "https://api-integration.ollang.com/integration/content/export?targetLanguage=tr" \
  -H "X-Api-Key: <your-api-key>"
{
  "Good morning": "Günaydın",
  "Sign in": "Giriş Yap",
  "Dashboard": "Pano",
  "Settings": "Ayarlar"
}

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.

Export all content translations for your account. You can filter by target language(s), tag(s), and order ID(s). Single-language exports return a flat key-value map; multi-language exports return a map grouped by language code.
curl -X GET "https://api-integration.ollang.com/integration/content/export?targetLanguage=tr" \
  -H "X-Api-Key: <your-api-key>"

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

Query Parameters

targetLanguage
string
Filter by a single target language code (e.g., tr). Use targetLanguages for multi-language export. Do not send both targetLanguage and targetLanguages in the same request — pick one.
targetLanguages
string[]
Filter by one or more target language codes. When multiple languages are provided, the response is grouped by language. Two syntaxes are accepted and treated equivalently:
  • Bracket form: ?targetLanguages[]=tr&targetLanguages[]=en
  • Repeated-key form: ?targetLanguages=tr&targetLanguages=en
A single value (?targetLanguages=tr) is also accepted and is coerced into a one-element array.
tag
string
Filter by a single tag.
tags
string[]
Filter by one or more tags. Returns content terms that have at least one of the specified tags. Accepts both ?tags[]=ui&tags[]=marketing and ?tags=ui&tags=marketing.
orderIds
string[]
Filter by one or more order IDs. Only content terms associated with the specified orders will be included. Accepts both ?orderIds[]=a&orderIds[]=b and ?orderIds=a&orderIds=b.

Response

The response format depends on how many languages are requested: Single language — flat key-value map where keys are source texts and values are translations:
{
  "Good morning": "Günaydın",
  "Sign in": "Giriş Yap",
  "Dashboard": "Pano"
}
Multiple languages — map keyed by language code, each containing a flat key-value map:
{
  "tr": {
    "Good morning": "Günaydın",
    "Sign in": "Giriş Yap"
  },
  "en": {
    "Good morning": "Good morning",
    "Sign in": "Sign in"
  }
}
{
  "Good morning": "Günaydın",
  "Sign in": "Giriş Yap",
  "Dashboard": "Pano",
  "Settings": "Ayarlar"
}