---
title: "Upload translated file"
method: POST
path: "/translation-requests/{id}/upload-translation"
tags: ["TranslationRequests"]
---

# Upload translated file

`POST /translation-requests/{id}/upload-translation`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/translation-requests/{id}/upload-translation`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/translation-requests/:id/upload-translation/post.ts> (a function with typed inputs; its response is checked against the schema)

Upload a completed translation file for a [translation request](#tag/translation_request). The file is validated synchronously and the result of the validation is given by the response. If the file is valid (indicated by a 200 response), then the translation will be applied in Knak asynchronously. Once applied, the `status` of the translation request will be updated to `completed` automatically.

## Path parameters

- `id` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary: The translated file to apply

## Response `200`

The file was uploaded successfully

## Other responses

- `400`: File validation failed
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found

---

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