---
title: "Get Document Download Url"
method: GET
path: "/documents/{document_id}/download_url"
tags: ["Documents"]
---

# Get Document Download Url

`GET /documents/{document_id}/download_url`

Get a download URL for a specific document.

Args:
    document_id: External ID of the document
    auth: Authentication context
    expires_in: URL expiration time in seconds (default: 1 hour)

Returns:
    Dictionary containing the download URL and metadata

## Path parameters

- `document_id` string, required

## Query parameters

- `expires_in` integer — URL expiration time in seconds

## Headers

- `authorization` string

## Response `200`

Successful Response

- DocumentDownloadUrlResponse — Response for document download URL endpoint
  - `download_url` string, required
  - `expires_in` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
