---
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`

## Request

- Base URL: `https://api.morphik.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.morphik.ai/documents/{document_id}/download_url`
- Auth: none declared

Get a download URL for a specific document.

## Path parameters

- `document_id` string, required

## Query parameters

- `expires_in` integer: URL expiration time in seconds

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

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

## Other responses

- `422`: Validation Error

## Changes

- **2026-01-22** `2d9291c3821d`: 2 info
  - `header` request parameter `authorization` list-of-types was widened by adding types `null`
  - for the `header` request parameter `authorization`, the type was generalized from `string` to no type

[Operation history](https://skmtc.dev/morphik-org/apis/morphik-api/changes/documents/:document_id/download_url/get.md)

---

[API](https://skmtc.dev/morphik-org/apis/morphik-api.md) - [All operations](https://skmtc.dev/morphik-org/apis/morphik-api/llms.txt) - [OpenAPI document](https://skmtc.dev/morphik-org/apis/morphik-api/revisions/45d77e08d406?raw)
