---
title: "Download Completed Document"
method: GET
path: "/api/v1/documents/{document_id}/download"
tags: ["v1", "documents"]
---

# Download Completed Document

`GET /api/v1/documents/{document_id}/download`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/v1/documents/{document_id}/download`
- Auth: HTTP bearer

Download completed document using API key authentication

- **document_id**: either the `completed_document_id` from
  GET /api/v1/documents/{id} (or the `document.completed` payload), or
  the original document id from the send / list responses. The original
  id resolves to that document's most recent completed session. A
  session id is not accepted. 404 until the envelope is completed.

Lookup / TTL / headers / storage-miss policy lives in
``download_completed_pdf`` (shared with the JWT dashboard route).

Returns PDF file as streaming response

## Path parameters

- `document_id` string, required

## Query parameters

- `document` string, nullable
- `format` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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