> ## 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](https://docs.annature.com.au/api-reference/envelopes/create-envelope.md) 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

**envelope\_id** `string` *required*

The unique identifier of the envelope the document belongs to.

**endpoint\_duration** `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.

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

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.