---
title: "Get download URL for completed export"
method: GET
path: "/api/exports/{id}/download"
tags: ["Exports"]
---

# Get download URL for completed export

`GET /api/exports/{id}/download`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/exports/{id}/download`
- Auth: HTTP bearer

Generate signed CloudFront URL for downloading export file (24h expiry)

## Path parameters

- `id` string, uuid, required

## Response `200`

Download URL generated

- object
  - `success` boolean
  - `data` ExportDownloadResponse
    - `download_url` string: Signed CloudFront URL for download
    - `filename` string: Suggested filename for download
    - `file_size` integer: File size in bytes
    - `expires_at` string, date-time: When the download link expires

## Other responses

- `400`: Export not completed or expired
- `401`: Unauthorized
- `403`: Cannot download another user's export
- `404`: Export request not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
