# General Translation Platform: Download a single file URL: https://generaltranslation.com/en-US/docs/platform/openapi/reference/files/download.mdx --- title: "Download a single file" description: "Download a single source or translated file. This deprecated endpoint is retained for backward compatibility; new integrations should use POST /v2/project/files/download. API reference for Download a single file." method: GET full: true _openapi: method: GET route: /v2/project/files/download/{fileId} toc: [] structuredData: headings: [] contents: - content: > Download a single source or translated file. This deprecated endpoint is retained for backward compatibility; new integrations should use `POST /v2/project/files/download`. --- ## `GET https://api.gtx.dev/v2/project/files/download/{fileId}` Download a single source or translated file. This deprecated endpoint is retained for backward compatibility; new integrations should use `POST /v2/project/files/download`. Authentication: send an API key as a bearer token in the `Authorization: Bearer ` header. ### Parameters - `gt-api-version` (header, "2025-01-01.v0" | "2025-11-03.v1" | "2026-02-18.v1" | "2026-03-06.v1", optional): API version. Defaults to the earliest supported version. Latest is `2026-03-06.v1`. - `gt-project-id` (header, string, optional): Target project ID. Required when authenticating with an organization API key. - `fileId` (path, string, required): - `versionId` (query, string, optional): Defaults to the branch head version. - `branchId` (query, string, optional): Defaults to the default branch. - `locale` (query, string, optional): Translation locale. Omit to download the source file. ### Responses **200**: File content. Response body (`application/json`, object): - `data` (string): Base64-encoded file content. **401**: Missing or invalid API key. Response body (`application/json`, object): - `error` (string): Human-readable error message. **403**: The API key lacks the required permission, or the action is not allowed on the current plan. Response body (`application/json`, object): - `error` (string): Human-readable error message. **404**: The requested resource was not found. Response body (`application/json`, object): - `error` (string): Human-readable error message. The complete OpenAPI 3.1 spec is available at https://generaltranslation.com/openapi.yaml.