---
title: "Download an uploaded file by ID"
method: GET
path: "/api/v4/projects/{id}/uploads/{upload_id}"
tags: ["projects"]
---

# Download an uploaded file by ID

`GET /api/v4/projects/{id}/uploads/{upload_id}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/uploads/{upload_id}`
- Auth: none declared

Downloads an uploaded file with a specified ID. You must have the Maintainer or Owner role for the project.

## Path parameters

- `id` string, required
- `upload_id` integer, required

## Response `200`

Download an uploaded file by ID

- string, binary

## Other responses

- `403`: Unauthenticated
- `404`: Not found

---

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