---
title: "Download a shared folder's file (public, by capability token + locator)"
method: GET
path: "/v1/shared-folders/{token}/files/download"
tags: ["shared-assets"]
---

# Download a shared folder's file (public, by capability token + locator)

`GET /v1/shared-folders/{token}/files/download`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/shared-folders/{token}/files/download`
- Auth: none declared

One file in a shared folder, as an attachment. No sign-in.

## Path parameters

- `token` string, required: The share link's capability token.

## Query parameters

- `locator` string, required: A file's opaque locator.

## Response `200`

The stored bytes, as an attachment.

- unknown

## Other responses

- `404`: No shared folder for that link, or locator.
- `422`: Validation Error
- `503`: The file exists, but the store holding its bytes cannot be reached.

---

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