veer
veer

Reputation: 5

Connect the docusign console through REST API in Apex

I have created an envelope, added recipients and documents to the envelope through REST API call in apex code. Now I want to view my envelope in docusign user interface before ot it sent to the signers. Can I connect to the docusign from REST API call in apex and view the envelope?

Upvotes: 0

Views: 188

Answers (2)

Ergin
Ergin

Reputation: 9356

You can use the EnvelopeViews: createSender API (also called Embedded Sending) to open the "tag and send" view of the envelope and let your users send it through the DocuSign Console. This also allows them to make changes to envelope before sending, given that they have the correct permissions.

This is what the API request typically looks like:

POST /v2/accounts/{accountId}/envelopes/{envelopeId}/views/sender
{
    "returnUrl": "https://your.app.com/callback"
}

Once the user is done sending the envelope they will be redirected to the URL that's provided in the returnUrl parameter.

Upvotes: 0

Related Questions