> 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

# RequestPDFWithCert

This method returns all of the documents combined into a single, contiguous PDF. Additionally it returns the Signing Certificate PDF document, which details the specific attributes of the participants and landmark events of the signing transaction. It also returns the Electronic Record and Signature Disclosure, per account settings, associated with the envelope.

### Schema

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

**`C#`**

```csharp title="C#"
// Create and send envelope as shown in linked code
DocuSignWeb.EnvelopeStatus status = <create and send envelope>;

// Call to request the PDF with the envelope ID
// Here, we chose to suppress the watermark
DocuSignWeb.EnvelopePDF pdf =
    _apiClient.RequestPDFWithCert(status.EnvelopeID, false);

// Display the size of the PDF
Console.WriteLine("Pdf has {0} bytes", pdf.PDFBytes.Length);
```

**`PHP`**

```php title="PHP"
// Create and send an envelope as shown in linked code 
$result = $api->CreateAndSendEnvelope($createAndSendEnvelopeparams);
$status = $result->CreateAndSendEnvelopeResult;

// Send
$requestPDFWithCertparams = new RequestPDFWithCert();
$requestPDFWithCertparams->EnvelopeID = $status->EnvelopeID;
$requestPDFWithCertparams->AddWaterMark = false;
$response = $api->RequestPDFWithCert($requestPDFWithCertparams);
```

| Name         | Schema Type | Description                                                                                                                                                |
| ------------ | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| EnvelopeID   | DSXId       | This is the envelope ID of the envelope, as returned by the CreateEnvelope/CreateAndSendEnvelope.                                                          |
| addWaterMark | Boolean     | If your account has the watermark feature enabled and when true, the watermark for the account is shown on documents for envelopes that are not completed. |

### Sample Request XML

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

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