Tolgee Import/Export API

Export localization files and import translation data.

Operations 3

GET /v2/projects/export Export translations #
POST /v2/projects/{projectId}/import Add files to import #
PUT /v2/projects/{projectId}/import/apply Apply staged import #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tolgee-import-export-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tolgee-import-export-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tolgee API Keys Import/Export API
  description: Subset of the Tolgee localization platform REST API covering projects, keys, translations, languages, import/export, and screenshots. Tolgee is open source and can be self-hosted; this specification targets Tolgee Cloud at https://app.tolgee.io. Project-scoped resources are authenticated with a Project API key (prefixed `tgpak_`) sent in the `X-API-Key` header. A Project API key is bound to a single project, so endpoints that implicitly operate on "the current project" (such as export) are accessible when authenticated with that key.
  termsOfService: https://tolgee.io/terms_and_conditions
  contact:
    name: Tolgee Support
    email: support@tolgee.io
  license:
    name: Source available / AGPL and commercial (self-hosted)
    url: https://docs.tolgee.io/platform/self_hosting/licensing
  version: v2
servers:
- url: https://app.tolgee.io
  description: Tolgee Cloud
security:
- ApiKeyAuth: []
tags:
- name: Import/Export
  description: Export localization files and import translation data.
paths:
  /v2/projects/export:
    get:
      operationId: exportData
      tags:
      - Import/Export
      summary: Export translations
      description: Exports the current project's translations as a downloadable archive (ZIP) or single file. The project is determined by the Project API key.
      parameters:
      - name: format
        in: query
        required: false
        description: Target file format.
        schema:
          type: string
          enum:
          - JSON
          - JSON_TOLGEE
          - XLIFF
          - PO
          - APPLE_STRINGS
          - APPLE_XLIFF
          - ANDROID_XML
          - FLUTTER_ARB
          - PROPERTIES
          default: JSON
      - name: languages
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: filterState
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
            enum:
            - UNTRANSLATED
            - TRANSLATED
            - REVIEWED
      - name: filterNamespace
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: structureDelimiter
        in: query
        required: false
        description: Character that introduces nesting in structured output (empty disables nesting).
        schema:
          type: string
          default: .
      - name: zip
        in: query
        required: false
        schema:
          type: boolean
          default: true
      responses:
        '200':
          description: OK
          content:
            application/zip:
              schema:
                type: string
                format: binary
            application/json:
              schema:
                type: object
                additionalProperties: true
  /v2/projects/{projectId}/import:
    parameters:
    - $ref: '#/components/parameters/ProjectId'
    post:
      operationId: addImportFiles
      tags:
      - Import/Export
      summary: Add files to import
      description: Uploads one or more translation files to begin the import process. Conflicts are resolved in subsequent steps before applying.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                files:
                  type: array
                  items:
                    type: string
                    format: binary
      responses:
        '200':
          description: OK
  /v2/projects/{projectId}/import/apply:
    parameters:
    - $ref: '#/components/parameters/ProjectId'
    put:
      operationId: applyImport
      tags:
      - Import/Export
      summary: Apply staged import
      parameters:
      - name: forceMode
        in: query
        required: false
        schema:
          type: string
          enum:
          - OVERRIDE
          - KEEP
          - 'NO'
      responses:
        '200':
          description: OK
components:
  parameters:
    ProjectId:
      name: projectId
      in: path
      required: true
      description: Numeric project identifier.
      schema:
        type: integer
        format: int64
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Project API key prefixed with `tgpak_`. Scoped to a single project.