---
updatedAt: 2026-09-10T15:50:00.000Z
agentTools:
  projectIndex: https://docs.synthesia.io/llms.txt
---

# Retrieve XLIFF content for a video

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).

# OpenAPI definition

```json
{
  "info": {
    "description": "Synthesia public API endpoints",
    "title": "Synthesia API",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.synthesia.io",
      "description": "Synthesia public API URL."
    }
  ],
  "paths": {
    "/v2/videos/{video_id}/xliff": {
      "get": {
        "summary": "Retrieve XLIFF content for a video",
        "description": "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).",
        "tags": [
          "Videos"
        ],
        "security": [
          {
            "api_key": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "video_id",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The ID of the video to retrieve the XLIFF from."
          },
          {
            "in": "query",
            "name": "videoVersion",
            "description": "The version of a video to get the XLIFF from.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "xliffVersion",
            "description": "The desired version of XLIFF specification.",
            "schema": {
              "type": "string",
              "enum": [
                "1.2"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoXliffResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden - Wrong API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Video ID was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "openapi": "3.0.2",
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          },
          "context": {
            "type": "string"
          }
        },
        "required": [
          "error"
        ]
      },
      "VideoXliffResponse": {
        "type": "object",
        "properties": {
          "xliff": {
            "type": "string"
          }
        },
        "required": [
          "xliff"
        ]
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    }
  }
}
```

# Sibling pages

* [Translate and generate a video from XLIFF definition](https://docs.synthesia.io/reference/xliff-import.md)
* [Get supported languages for translations](https://docs.synthesia.io/reference/get-supported-languages-for-translations.md)
* [Start/Update a video translation](https://docs.synthesia.io/reference/put_v2-translations-root-video-id.md)
* [Get video translations of a given root video id](https://docs.synthesia.io/reference/get_v2-translations-root-video-id.md)