---
title: "Download an uploaded file by secret and filename"
method: GET
path: "/api/v4/groups/{id}/uploads/{secret}/{filename}"
tags: ["groups"]
---

# Download an uploaded file by secret and filename

`GET /api/v4/groups/{id}/uploads/{secret}/{filename}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/groups/{id}/uploads/{secret}/{filename}`
- Auth: none declared

Downloads an uploaded file with a specified secret and filename. You must have the Guest, Planner, Reporter, Developer, Maintainer, or Owner role for the group.

## Path parameters

- `id` string, required
- `secret` string, required
- `filename` string, required

## Response `200`

Download an uploaded file by secret and filename

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