---
title: "A signed GET for one file, valid a few minutes. download saves rather than displays."
method: GET
path: "/public/file-links/{token}/files/{index}"
tags: ["PublicFileLinks"]
---

# A signed GET for one file, valid a few minutes. download saves rather than displays.

`GET /public/file-links/{token}/files/{index}`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/public/file-links/{token}/files/{index}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/public/file-links/:token/files/:index/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `token` string, required
- `index` integer, required

## Query parameters

- `download` boolean

## Response `200`

OK

- PublicSecureLinkFileUrlDto: A short-lived signed GET for one file of a link.
  - `url` string, required
  - `expiresAt` string, date-time, required

## Other responses

- `404`: Not Found

## Changes

- **2026-10-28** `099cf36186e0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/public/file-links/:token/files/:index/get.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
