> 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

# EnvelopeAuditEvents

The EnvelopeAuditEvent API method enables API users to request the events performed on an envelope. The events are returned in an XML document.

**`C#`**

```csharp title="C#"
// Create and send envelope as shown in linked code
DocuSignWeb.EnvelopeStatus status = <create and send envelope>;

// Request the audit history
XmlNode result = _apiClient.EnvelopeAuditEvents(status.EnvelopeID);

// Display audit events
StringWriter stringWriter = new StringWriter();
XmlTextWriter xmlTextWriter = new XmlTextWriter(stringWriter);
xmlTextWriter.Formatting = Formatting.Indented;
result.WriteTo(xmlTextWriter);
xmlTextWriter.Flush();
Console.Write(stringWriter.ToString());
```

**`PHP`**

```php title="PHP"
// Create and send an envelope as shown in linked code
$response = <create and send envelope>;
$createResult = $response->CreateAndSendEnvelopeResult;

// Send and request audit history
$envelopeAuditEventsparams = new EnvelopeAuditEvents();
$envelopeAuditEventsparams->EnvelopeId = $createResult->EnvelopeID;
$response = $api->EnvelopeAuditEvents($envelopeAuditEventsparams);
```

### Schema

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

| Name       | Schema Type | Description                                           |
| ---------- | ----------- | ----------------------------------------------------- |
| EnvelopeId | DSXId       | Envelope ID of the envelope to return the events for. |

Envelope ID of the envelope to return the events for.

### Sample Request XML:

```
SOAPAction: "http://www.docusign.net/API/3.0/EnvelopeAuditEvents"
<?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/">
    <EnvelopeAuditEvents xmlns="http://www.docusign.net/API/3.0">
      <EnvelopeId>string</EnvelopeId>
    </EnvelopeAuditEvents>
  </soap:Body>
</soap:Envelope>
```