---
title: "Upload Zip File"
method: POST
path: "/files"
tags: ["File"]
---

# Upload Zip File

`POST /files`

Uploads an archive containing source files in `.zip` format, which will be extracted and used during project creation.

Status of the upload operation can be tracked using the [Poll Upload Zip File](#/operations/PollUploadZipFile) endpoint.

Once this Upload Zip File operation has finished extracting the files, they can be added to the desired project using the [Attach Source Files](#/operations/AddSourceFiles) endpoint. Alternatively, they can be used to [Request File Analysis](#/operations/RequestFileAnalysis) details like word counts and estimated costs.


Consider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when uploading files.

## Headers

- `Authorization` string, required
- `X-LC-Tenant` string, required

## Response `200`

- FileUploadResponse
  - `id` string, required — The identifier of the uploaded file
  - `fileName` string, required — The name of the uploaded file
  - `unzipStatus` 'queued' | 'extracting' | 'extracted' | 'unzipError' — The status of the unzipping operation. You can use this to determine if your .zip file has been extracted successfully.

## Other responses

- `400` — Error code “invalid” in case of: * Empty or missing file in request * Not valid multipart request * File parameter contains other extension than the one expected by specification.
- `401` — The user could not be identified.

---

[API](https://skmtc.net/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.net/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rws/trados-cloud-platform-api/revisions/d42dac7c28a3/schema)
