---
title: "Get File Temporary Download URL"
method: GET
path: "/ca/api/file/{id}/temp-download-url"
tags: ["Settings"]
---

# Get File Temporary Download URL

`GET /ca/api/file/{id}/temp-download-url`

Return a short-lived presigned S3 URL for downloading a file.

Pass ``?disposition=inline`` to render preview-safe types (PDF, images)
in the browser instead of forcing a download.

:param request: The incoming DRF request (must be authenticated).
:return: JSON response with ``url`` key or an error.

## Path parameters

- `id` integer, required

## Response `200`

No response body

---

[API](https://skmtc.net/campfire/apis/campfire-developer-apis.md) · [All operations](https://skmtc.net/campfire/apis/campfire-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/campfire/campfire-developer-apis/versions/6945ebc3180e/schema)
