---
title: "Upload file"
method: POST
path: "/file-translations-api/v2/accounts/{accountUid}/files"
tags: ["File Machine Translations (MT)"]
---

# Upload file

`POST /file-translations-api/v2/accounts/{accountUid}/files`

## Request

- Base URL: `https://api.smartling.com`
- URL: `https://api.smartling.com/file-translations-api/v2/accounts/{accountUid}/files`
- Auth: HTTP bearer

Upload a file to use for asynchronous tasks like language detection or machine translation. Maximum file size is 200MB.

## Path parameters

- `accountUid` string, required

## Request body `multipart/form-data`

- object
  - `request` object, required
    - `fileType` 'DOCX' | 'DOCM' | 'RTF' | 'PPTX' | 'XLSX' | 'IDML' | 'RESX' | 'PLAIN_TEXT' | 'XML' | 'HTML' | 'PRES' | 'SRT' | 'MARKDOWN' | 'DITA' | 'VTT' | 'FLARE' | 'SVG' | 'XLIFF2' | 'CSV' | 'JSON' | 'XLSX_TEMPLATE' | 'XLIFF' | 'ANDROID', required: Supported file types
  - `file` string, binary, required: The file contents to upload.

## Response `200`

OK

- FileUploadResponse
  - `response` object, required
    - `code` 'SUCCESS', required: Indicates whether the response was successful or what error has occurred.
    - `data` object
      - `fileUid` string: Unique identifier for uploaded file.

## Other responses

- `400`: Provided request parameters are invalid.
- `401`: Provided credentials are not valid.
- `429`: Too many simultaneous API requests.
- `500`: Unexpected error

## Changes

- **2026-10-17** `2cd7a8215799`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/changes/file-translations-api/v2/accounts/:accountUid/files/post.md)

---

[API](https://skmtc.dev/smartling/apis/smartling-rest-api-reference.md) - [All operations](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/revisions/e63066e7f5e9?raw)
