---
title: "accessPublicLink"
method: GET
path: "/v1/files/public/links/{id}/{filename}"
tags: ["Public Links"]
---

# accessPublicLink

`GET /v1/files/public/links/{id}/{filename}`

Access a file via its public link.

**No authentication required.** This endpoint redirects to a signed S3 URL for downloading the file.

The filename in the URL is for user-friendliness and SEO; the actual file is identified by the link ID.

## Path parameters

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

## Query parameters

- `hash` string

## Other responses

- `302` — Redirect to a signed S3 URL for downloading the file
- `404` — Public link not found or has been revoked
- `500` — An unexpected error occurred on the server

---

[API](https://skmtc.net/epilot/apis/file-api.md) · [All operations](https://skmtc.net/epilot/apis/file-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/file-api/revisions/e4fee5bc1196/schema)
