> ## 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.

# List all documents

Returns a list of documents that belong to a specific envelope.

This endpoint allows you to retrieve all documents created for a given envelope, along with download URLs for the original and master versions (if available).

> Documents are returned in the same order they were supplied in the request body when the envelope was created.

## Parameters

<ParamField path="envelope_id" type="string" required>
  The unique identifier of the envelope whose documents you want to retrieve.

  This parameter is required to filter results and ensures the returned list only includes documents from the specified envelope.
</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
  ```
</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>
