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

# Get Document

Get a single document or all documents from an envelope.

**Note**: To use this action, you need to save the output as a file since the response data is in binary format.

<Note>
  External Documentation

  To learn more, visit the [Docusign documentation](https://developers.docusign.com/docs/esign-rest-api/v2/reference/envelopes/envelopedocuments/get/).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                                                                                                                                                                                                                                                                                                        |
  | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Document ID  | The unique ID of the document within the envelope.<br /><br />The `Document ID` parameter can also accept special values:<br />\* `combined` - Get a PDF that contains the combined content of all documents and the certificate.<br />\* `archive` - Get a ZIP archive that contains all of the PDF documents, the certificate, and any .WAV files used for voice authentication. |
  | Envelope ID  | The ID of the envelope.                                                                                                                                                                                                                                                                                                                                                            |
  | Show Changes | When checked, any changed fields for the returned PDF are highlighted in yellow and optional signatures or initials outlined in red. The account must have the Highlight Data Changes feature enabled.                                                                                                                                                                             |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter            | Description                                                                                                                                                      |
  | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Certificate          | When checked, the certificate of completion is included in the combined PDF file.                                                                                |
  | Certificate Language | Select the language for the Certificate of Completion.                                                                                                           |
  | Encrypt              | When checked, the PDF bytes returned in the response are encrypted for all the key managers configured on your Docusign account.                                 |
  | Watermark            | When checked, the account has the watermark feature enabled, and the envelope is not complete, then the watermark for the account is added to the PDF documents. |
</div>

## Example Output

```json theme={"dark"}
output written to file with identifier 'testfile'
```

## Workflow Library Example

[Get Document with Docusign and Send Results Via Email](https://library.blinkops.com/workflows/get-document-with-docusign-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-document-with-docusign-and-send-results-via-email/canvas" />
</div>
