---
title: "Create a File Link"
method: GET
path: "/v1/files/{id}/link"
tags: ["files"]
---

# Create a File Link

`GET /v1/files/{id}/link`

Creates an unauthenticated temporary URL to download the file's contents. Note
that this link expires and therefore should not be cached.

## Path parameters

- `id` string, required

## Response `200`

The file link

- FileLink — A file link is a temporary URL that downloads a file's bytes without a Chariot credential. It expires an hour after it is issued.
  - `url` string — The URL to download the file. It needs no Chariot credential.
  - `expires_at` string, date-time — The date and time when the file link will expire.

## Other responses

- `400` — The request is invalid or contains invalid parameters
- `401` — Unauthorized. The request is missing the security (OAuth2 Bearer token) requirements and the server is unable to verify the identify of the caller.
- `403` — Access denied
- `404` — Resource Not Found
- `500` — Internal Server Error

## Changes

- **2026-08-31** `6f769ddf43bd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/chariot-giving/apis/specs/changes/v1/files/:id/link/get.md)

---

[API](https://skmtc.dev/chariot-giving/apis/specs.md) · [All operations](https://skmtc.dev/chariot-giving/apis/specs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chariot-giving/specs/revisions/6f769ddf43bd/schema)
