---
title: "Translate via MT"
method: POST
path: "/mts/{mtId}/translations"
tags: ["Machine Translation Engines"]
---

# Translate via MT

`POST /mts/{mtId}/translations`

## Request

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

**Required scopes:** `mt` (Read and Write).

## Path parameters

- `mtId` integer, required

## Request body

- MtTranslateForm
  - `languageRecognitionProvider` 'crowdin' | 'engine': Select a provider for language recognition __Note:__ Is required if the source language is not selected
  - `sourceLanguageId` string: Source Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)
  - `targetLanguageId` string, required: Target Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)
  - `strings` string[], required: Strings that should be translated __Note:__ You can translate up to 100 strings at a time.

## Response `200`

String was translated successfully

- MtTranslationResource: 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` MtTranslation, required
    - `sourceLanguageId` string
    - `targetLanguageId` string
    - `strings` string[]
    - `translations` string[]

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: MT with specified id was not found
- `405`: Method Not Allowed

---

[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)
