---
title: "Export Xliff"
method: GET
path: "/v1/projects/{project_id}/xliff/export"
tags: ["xliff"]
---

# Export Xliff

`GET /v1/projects/{project_id}/xliff/export`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/xliff/export`
- Auth: none declared

## Path parameters

- `project_id` string, required

## Query parameters

- `target_language` string, required: BCP-47 target language code
- `namespace` string, required: namespace slug
- `source_language` string, nullable: Source language code; defaults to the project's source_language.
- `version` string, nullable: Version slug; defaults to the project's production version.
- `include_statuses` string, nullable: Comma-separated translation statuses to include. Default: translated,reviewed,approved (matches CDN policy).
- `xliff_version` string: XLIFF spec version to emit. One of ('1.2', '2.0', '2.1').

## Response `200`

Successful Response

- XliffExportReport
  - `project_uuid` string, required
  - `source_language` string, required
  - `target_language` string, required
  - `namespace_slug` string, required
  - `version_slug` string, nullable, required
  - `included_count` integer, required
  - `plural_count` integer, required
  - `warnings` string[], required
  - `xliff` string, required: XLIFF 1.2 document as UTF-8 text

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
