---
title: "Import Translations"
method: POST
path: "/projects/{projectId}/translations/imports"
tags: ["Translations"]
---

# Import Translations

`POST /projects/{projectId}/translations/imports`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/projects/{projectId}/translations/imports`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/projects/:projectId/translations/imports/post.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `project.translation` (Read and Write).

## Path parameters

- `projectId` integer, required

## Request body

- EnterpriseTranslationImportForm
  - `storageId` integer, required: Storage Identifier. Get via [List Storages](#operation/api.storages.getMany)
  - `fileId` integer: File Identifier for import. Get via [List Files](#operation/api.projects.files.getMany) <br> **Note:** Required for content in all formats except XLIFF
  - `languageIds` string[]: Language Identifiers. Get via [Project Target Languages](#operation/api.projects.get)
  - `importEqSuggestions` boolean: Defines whether to add translation if it's the same as the source string
  - `autoApproveImported` boolean: Mark uploaded translations as approved
  - `translateHidden` boolean: Allow translations upload to hidden source strings
  - `addToTm` boolean: Defines whether to add translation to TM

## Response `202`

Import Translations was successfully started

- FileBasedTranslationImportResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` FileBasedTranslationImport, required
    - `identifier` string
    - `status` string
    - `progress` integer: in percentages
    - `attributes` object
      - `storageId` integer: Storage identifier
      - `fileId` integer: File identifier
      - `importEqSuggestions` boolean: Import suggestions that equal target translation
      - `autoApproveImported` boolean: Automatically approve imported translations
      - `translateHidden` boolean: Translate hidden strings
      - `addToTm` boolean: Add translations to Translation Memory
      - `languageIds` string[]: Target language identifiers
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `startedAt` string, date-time, nullable
    - `finishedAt` string, date-time, nullable

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `402`: Payment required
- `403`: Forbidden
- `404`: Project, language, storage, or file with specified id was not found
- `405`: Method Not Allowed
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
