---
title: "Completed PDF"
method: GET
path: "/api/v1/documents/{id}/completed_pdf"
tags: ["Document"]
---

# Completed PDF

`GET /api/v1/documents/{id}/completed_pdf`

Gets a completed document PDF or ZIP file. Supply the unique document ID from either a document creation request or document page URL.

## Path parameters

- `id` string, uuid, required — Unique identifier for a completed document.

## Query parameters

- `url_only` boolean — Whether to return the URL of the completed PDF or the actual PDF content. Defaults to `false`.
- `audit_page` boolean — Whether to include the audit page as part of the document. Defaults to `true`
- `file_format` 'pdf' | 'zip' — Format of the file to be downloaded. Supported formats are 'pdf' and 'zip'.

## Response `200`

successful, returns the final completed PDF, or if url_only is set to true, a JSON object is returned. When url_only=false (default), the response is the raw PDF or ZIP binary data.

- union
  - JSON — JSON response containing the URL to the completed PDF file (returned when url_only=true)
    - `file_url` string, url, required — URL to download the completed document
  - string, binary — Raw PDF binary data (default response when url_only=false)
  - string, binary — ZIP file containing the completed PDF (returned when file_format=zip)

## Other responses

- `404` — not_found
- `429` — rate limit exceeded

---

[API](https://skmtc.net/signwell/apis/signwell-developer-api.md) · [All operations](https://skmtc.net/signwell/apis/signwell-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signwell/signwell-developer-api/revisions/debef5796b62/schema)
