---
title: "Export Target File Version"
method: POST
path: "/projects/{projectId}/target-files/{targetFileId}/versions/{fileVersionId}/exports"
tags: ["Target File"]
---

# Export Target File Version

`POST /projects/{projectId}/target-files/{targetFileId}/versions/{fileVersionId}/exports`

Generates an asynchronous export operation. Use the [Get Target File Version Export](#/operations/PollTargetFileVersionExport) endpoint to poll until the export is completed. Used only for [BCM](../../BCM/BCM.NET_client_API.html) file versions.

This operation triggers a conversion of the BCM target file version in a native or SDLXLIFF format, based on the value of the `format` query parameter used.

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

## Query parameters

- `format` 'native' | 'sdlxliff'

## Headers

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

## Response `202`

- FileVersionExport — Represents the result of an asynchronous operation, including status and potential error information.
  - `id` string, required — Unique identifier for the asynchronous operation.
  - `status` 'created' | 'inProgress' | 'completed' | 'failed', required — The status of the asynchronous operation.
  - `errorMessage` string — When the status is 'failed', it contains the error message explaining what went wrong.
  - `downloadUrl` string — The url where the file can be downloaded.

## Other responses

- `401` — The user could not be identified.
- `403` — Error codes: * "forbidden": the authenticated user is not allowed to export the target file version.
- `404` — Error codes: * "notFound": the project, the target file or the version could not be found by identifier.
- `409` — Error codes: * "invalidType": The type of the target file doesn't allow the export operation. * "conflict": A target file version export is already in progress.

---

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