---
title: "Retrieve XLIFF content for a video"
method: GET
path: "/v2/videos/{video_id}/xliff"
tags: ["Videos"]
---

# Retrieve XLIFF content for a video

`GET /v2/videos/{video_id}/xliff`

## Request

- Base URL: `https://api.synthesia.io`
- URL: `https://api.synthesia.io/v2/videos/{video_id}/xliff`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/synthesia/apis/synthesia-api/docs/v2/videos/:video_id/xliff/get.ts> (a function with typed inputs; its response is checked against the schema)

You can use Retrieve XLIFF content endpoint to pull the XLIFF specification for a given video containing all the text content (script, chapters, text elements).

## Path parameters

- `video_id` string, uuid, required

## Query parameters

- `videoVersion` integer
- `xliffVersion` '1.2'

## Response `200`

OK.

- VideoXliffResponse
  - `xliff` string, required

## Other responses

- `400`: Bad Request.
- `403`: Forbidden - Wrong API key.
- `404`: Video ID was not found.
- `default`: Unexpected Server error.

---

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