> 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

# RequestDocumentPDFs

### Schema

![](/_fern-files/_img/9c7de029130c3aed1375d0c20c63b8c1fda7ee0e823caad1883dc188925d7037.webp)

| 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.RequestDocumentPDFs(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
$requestDocumentPDFsparams = new RequestDocumentPDFs();
$requestDocumentPDFsparams->EnvelopeID = $status->EnvelopeID;
$response = $api->RequestDocumentPDFs($requestDocumentPDFsparams);
```

### 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>
    <RequestDocumentPDFs xmlns="http://www.docusign.net/API/3.0">
      <EnvelopeID>string</EnvelopeID>
    </RequestDocumentPDFs>
  </soap:Body>
</soap:Envelope>
```