createSender creates a URL, which I would like to use to let the sender preview the document before it's send out. Hence the documents are created using templates and and the API. The link which is created would lead me out of my UI. Does the user need to sign in? Future plan is to have many user's, which have no DocuSign account.
2 Answers
For embedded sending Your app will have to authenticate the user. If you are doing a Service Integration then your Api account will be used as the sender.
Once the sending url is generated using the createSenderView api, there is no authentication required to access the URL.
You also have an option to build a User Application using the docusign Api where your App can support sending from multiple accounts.

- 7,295
- 2
- 21
- 43
-
createSenderView which is described in the documents as *EnvelopeViews: createSender* is requiring an authentication. I am using a demo account, does this make a difference? – vik Jun 19 '17 at 16:25
-
All docusign api calls require authentication. – Praveen Reddy Jun 19 '17 at 16:37
-
createSenderView creates a non api URL. Which I would like to access without authentication, possible? – vik Jun 19 '17 at 16:42
-
Yes it is possible. You can just try accessing the generated URL in a browser. It should not prompt for authentication. – Praveen Reddy Jun 19 '17 at 16:48
-
I tried that a few times. that's why I am asking if it has to do with the demo account I am using. The generated URL is always prompting for login. – vik Jun 19 '17 at 16:50
-
I have to see your code to tell why the generated URL is always prompting for login. Please show us your api calls and request for those calls. – Praveen Reddy Jun 22 '17 at 08:39
The createSenderView requires that the person is a DocuSign user (with their own account and password).
Only DocuSign users can send. We charge for sending, not for signing or receiving.
What exactly do you want to preview? (And why?)
- the documents themselves? Use the EnvelopeDocuments resource. You can also preview the thumbnails of the documents.
- the documents with the "fields" ("tabs") that indicate where people will sign? I'm not sure that is do-able.
- or the recipients and their routing order? Use EnvelopeRecipients: list method.
Added
Another solution is to use a dummy certified delivery "recipient". Add this recipient as the first recipient. This will block the envelope from proceeding on the recipient routing.
Then get the envelope's documents to show as a preview.
Then, if ok, alter the envelope's recipients to remove the certified delivery recipient. The envelope will then continue on with the first "real" recipient.

- 47,808
- 15
- 87
- 140
-
We are using multi-tenant API and we will have one DocuSign account that acts on the behalf of tenants of our API. Tenant's can create document's on our API documents based on templates (existing and labelled on DocuSign). The tenants need a preview before sending out to signers. A draft envelope on DocuSign won't show a filled document when I get the documents. CodingDawg answered [here](https://stackoverflow.com/questions/44437245/is-previewing-possible-composite-documents-without-sending-it-out-by-email) to use 1. createSenderView or 2. combining GetDocument and GetTemplateRecipient. – vik Jun 20 '17 at 09:57
-
Simpler solutions are welcome or maybe it is somehow possible to use [EnvelopeDocuments Resource](https://docs.docusign.com/esign/restapi/Envelopes/EnvelopeDocuments/) for envelopes in status draft/created – vik Jun 20 '17 at 09:58
-
Thank you @larry-k, what is a dummy certified delivery recipient. Do you have examples? – vik Jun 21 '17 at 13:13
-
Please ask as a new question. And some upvotes would be appreciated for the answers that you find helpful. – Larry K Jun 22 '17 at 05:29
-
I would definitely upvote if I get to a solution, but I am actually spending hours to figure out how the answers would work for me. I could not add dummy certified delivery. The API reference is mentioning it, but it is not implemented in the DocuSign node sdk so after hours of trials I could not figure out if that works. Beside's I think at the moment the correct answer would be a downloadable preview in draft status of an envelope is not possible. – vik Jun 22 '17 at 08:20
-
1Please post a new question with your code that is using the node SDK. It is hard for us to figure out the issue without seeing your code. Please be as specific as possibile. Show what worked and what did not work. See [how to ask](https://meta.stackexchange.com/help/how-to-ask) page. Please help us help you. – Praveen Reddy Jun 22 '17 at 08:37