---
title: "Get a temporary URL to download a file."
method: POST
path: "/api/v1/Files/GetDownloadUrl"
tags: ["Files"]
---

# Get a temporary URL to download a file.

`POST /api/v1/Files/GetDownloadUrl`

## Request

- Base URL: `https://api.slopesoftware.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slopesoftware.com/api/v1/Files/GetDownloadUrl`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/slopesoftware/apis/akur8-life-api/docs/api/v1/Files/GetDownloadUrl/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- FilePathAndVersionDtoV1
  - `filePath` string, nullable: File Path
  - `version` integer, nullable: File Version

## Response `200`

OK

- GetDownloadUrlResponseV1
  - `downloadUrl` string, nullable: URL to use to download file content
  - `metadata` object, nullable: Metadata for the download file

## Other responses

- `201`: Created
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Not Allowed To Access
- `404`: Not Found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/slopesoftware/apis/akur8-life-api.md) - [All operations](https://skmtc.dev/slopesoftware/apis/akur8-life-api/llms.txt) - [OpenAPI document](https://skmtc.dev/slopesoftware/apis/akur8-life-api/revisions/9771b2c79880?raw)
