> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL.
>
> Documentation indexes by section:
> - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt
> - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt
> - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt
> - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt
>
> Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth
> Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks
>
> OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json
> MCP server: https://docusign.docs.buildwithfern.com/_mcp/server

# RequestDocumentPDFsEx

### Schema

![](/_fern-files/docusign.docs.buildwithfern.com/925b0daf7c125f3b680b66f4ebadbb60fc0a5113a9366f5b4aea5192f181a1a0/docs/assets/soap/RequestDocumentPDFsEx.png)

| Name / Schema Type | Description                                                                                                                                                  |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| EnvelopeID  DSXId  | This is the envelope ID of the envelope, as returned by the CreateEnvelope/CreateAndSendEnvelope. Only documents within the specified envelope are returned. |

**`C#`**

```csharp title="C#"
// Create and send envelope as shown in linked code
DocuSignWeb.EnvelopeStatus status = <create and send envelope>;

// Call to request the PDFs with the envelope's ID
DocuSignWeb.DocumentPDFs pdf = _apiClient.RequestDocumentPDFsEx(status.EnvelopeID);

// Display number of PDFs returned
Console.WriteLine("Envelope has {0} pdfs", pdf.DocumentPDF.Length);
```

**`PHP`**

```php title="PHP"
// Create and send an envelope as shown in linked code 
$response = <create and send envelope>;
$status = $response->CreateAndSendEnvelopeResult;

// Request PDFs
$requestDocumentPDFsExparams = new RequestDocumentPDFsEx();
$requestDocumentPDFsExparams->EnvelopeID = $status->EnvelopeID;
$response = $api->RequestDocumentPDFsEx($requestDocumentPDFsExparams);
```

### Sample Request XML

```
SOAPAction: "http://www.docusign.net/API/3.0/RequestDocumentPDFs"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: Body>
    <RequestDocumentPDFsEx xmlns="http://www.docusign.net/API/3.0">
      <EnvelopeID>string</EnvelopeID>
    </RequestDocumentPDFsEx>
  </soap:Body>
</soap:Envelope>
```