---
title: "Get a download link"
method: GET
path: "/api/v1/documents/{id}/download-url"
tags: ["Documents"]
---

# Get a download link

`GET /api/v1/documents/{id}/download-url`

## Request

- Base URL: `https://app.sellerassistant.app` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sellerassistant.app/api/v1/documents/{id}/download-url`
- Auth: one of:
  - API key in query parameter `api_key`
  - API key in header `X-Api-Key`

The link expires in 30 minutes. The file itself never goes through this API.

## Path parameters

- `id` integer, required

## Response `200`

The link

- object
  - `data` object
    - `url` string
    - `expires_in` integer: In seconds.

## Other responses

- `403`: Access denied - insufficient permissions, invalid API key, or the API request limit is used up (`public_api_key_limit`)
- `404`: Resource not found
- `429`: Too many requests - rate limit exceeded

---

[API](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api.md) · [All operations](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/revisions/5b3ecdbcadb6?raw)
