---
title: "Get a fresh download URL"
method: POST
path: "/v1/upload/{uploadId}/download-url"
---

# Get a fresh download URL

`POST /v1/upload/{uploadId}/download-url`

## Request

- Base URL: `https://api.payaion.com`
- URL: `https://api.payaion.com/v1/upload/{uploadId}/download-url`
- Auth: API key in header `X-Aion-Key`

Returns a new download URL for a previously uploaded file.

## Path parameters

- `uploadId` string, required

## Request body

- object

## Response `200`

Fresh download URL

- DownloadUrlResult
  - `uploadId` string, required
  - `downloadUrl` string, uri, required
  - `expiresAt` string, date-time, required
  - `ready` boolean, required

## Other responses

- `401`: Invalid or missing credentials
- `404`: Resource not found
- `429`: Rate limit exceeded

---

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