> 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

# Post Processing Group TransferEnvelope

The TransferEnvelope method effectively transfers all documents in the specified envelope to the new owner.

### Schema

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

**`C#`**

```csharp title="C#"
// Request the envelope specified to be transferred to the account specified
DocuSignWeb.TransferEnvelopeStatus status = _apiClient.TransferEnvelope("envelope ID",
    "account ID as GUID", "user ID as GUID");

// Confirm that the transfer succeeded
Console.WriteLine("Transfer succeeded? {0}", status.TransferEnvelopeSuccess);
```

**`PHP`**

```php title="PHP"
// Request the envelope specified to be transferred to the account specified
$transferEnvelopeparams = new TransferEnvelope();
// TODO: replace string with account ID GUID that you will transfer the envelope to
$transferEnvelopeparams->AccountID = "someone else's account ID GUID here";
// TODO: replace string with envelope ID GUID that will be transferred
$transferEnvelopeparams->EnvelopeID = "your envelopeID GUID here";
// TODO: replace string with user ID GUID that you will transfer the envelope to
$transferEnvelopeparams->UserID = "someone else's user ID as GUID here";
$response = $api->TransferEnvelope($transferEnvelopeparams);
```

\| Name | Schema Type | Description | | --- | --- | --- | | EnvelopeID | DSXId | This is the envelope ID of the envelope, as specified by the request. | | AccountID | DSXId | This specifies the account ID of the person to whom ownership is transferred. | | UserID | DSXId | The user ID of the person to whom the envelope ownership is being transferred. |

### Sample Request XML

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

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

## TransferEnvelopeStatus

TransferEnvelopeStatus is the response method for TransferEnvelope.

### Schema

![](/_fern-files/docusign.docs.buildwithfern.com/e828ed809f1c73253751d153176d0d1df593b58d7bda37d0e2c896b708da7327/docs/assets/soap/TransferEnvelopeStatus.png)

| Name                    | Schema Type | Description                                     |
| ----------------------- | ----------- | ----------------------------------------------- |
| TransferEnvelopeSuccess | Boolean     | This element is true if the transfer succeeded. |