---
title: "Returns a URL to the Docusign eSignature web application."
method: POST
path: "/v2.1/accounts/{accountId}/views/console"
tags: ["EnvelopeViews"]
---

# Returns a URL to the Docusign eSignature web application.

`POST /v2.1/accounts/{accountId}/views/console`

Returns a URL that enables you to embed the Docusign UI in your applications. To view a specific envelope, set the `envelopeId` property in the request body.

## Information security notice

This method provides full access to the sending account.

### Related topics

- [How to embed the Docusign UI in your app](/docs/esign-rest-api/how-to/embed-ui/)

## Path parameters

- `accountId` string, required

## Request body

- ConsoleViewRequest — The request object for the [EnvelopeViews: createConsole](/docs/esign-rest-api/reference/envelopes/envelopeviews/createconsole/) method.
  - `envelopeId` string — The ID of an envelope. If the envelope has been sent, the endpoint returns a URL for a view of the documents. If the envelope has not yet been sent, the endpoint returns a URL for the sender view. This property is optional. If no value is provided, the endpoint returns a URL for the front page of the demo UI.
  - `returnUrl` string — The URL to which the user should be redirected. This is only used when the `envelopeId` is specified as a draft envelope. In this case, the endpoint returns a URL for the sender view. When the user exits the sender view, they will be redirected to the `returnUrl` value. If no value is provided, there is no option to leave the sender view. In other cases, the user is not redirected out of the console view.

## Response `201`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/versions/77f1998c313d/schema)
