> ## Documentation Index
> Fetch the complete documentation index at: https://docs.annature.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a document

Retrieves a single document that was created as part of an envelope, using the document’s `id` value.

This `id` must match the identifier supplied (or auto-generated) when the document was originally included in the [Create envelope](/api-reference/envelopes/create-envelope) request.

This endpoint can be used to access the unmerged state of a specific document, along with temporary download links to both the original and master versions (if available).

## Parameters

<ParamField path="envelope_id" type="string" required>
  The unique identifier of the envelope the document belongs to.
</ParamField>

<ParamField path="endpoint_duration" type="string">
  Sets how long the `original` and `master` document URLs will remain accessible.

  The duration must be between 1 and 10,080 minutes (7 days).

  If omitted, the default duration is 60 minutes.
</ParamField>

<RequestExample>
  ```bash Endpoint theme={null}
  GET /v1/documents/:id
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": "fcad499b03c6fc222bc66208317a18c9",
    "name": "Non disclosure agreement.pdf",
    "pages": 10,
    "original": "https://annature..",
    "master": "https://annature..",
    "created": "2019-12-17T05:30:00Z"
  }
  ```
</ResponseExample>
