Skip to main content

I’m trying to open a new tab from my application, allowing to an user sign an agreement. I have follow the tutorials, consult the API, test it with the API Explorer, and I’m not getting that the sign appear in the returned URL.

 

I make two requests:

  1. https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/enveloperecipients/list/
  2. https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createrecipient/

The first one gives me all information I need to make the second one:

{
userName: “name”,
email: “valid@email”,
recipientId: “a number”,
returnUrl: "http://example.org",
authenticationMethod: "None"
}

 

This return a response 200 with a URL.

When I open the URL in the browser, I can see the document but I cannot sign it.

 

What am I doing wrong?

Hello,

This is Alice, Developer Support Engineer at Docusign. It is nice to meet you. :)

 

We will need to check the whole context of the embedded signature flow in more detail. Please create a new case with us via this link: https://support.docusign.com/s/createCase and make sure to select APIs & Development as case category.

Upon sending a new case, please provide us with the integration key used, a sample envelope ID in which we are not seeing the expected tabs for, and the actual envelope creation API request (JSON or code file), as possible.

 

We will return to you as soon as we can to your new case.

Thank you in advance!

 

Alice Goglione (she/her) | Developer Support Engineer II

NPikcCCy65KbqEI-Qwh7_-2s-pMm9JQ0NWFuBi_87cbSqVm1ezaRscPxxxn8hNpSDIntAJY_Df2XcFQnyrz2xpyCN7Almg7rZJJa3P3UjP7pKPmIUPLHMjSgigZnQcgQfxtGOcR1EW4EQ-9RuoTfLA


Hi @dooveloper! Welcome to the Docusign Community. 

Have you specified a clientUserId for the recipient while creating your envelope? If so, you would need to specify the clientUserId in the EnvelopeViews: CreateRecipient call as well. Your request body doesn’t have a clientUserId specified, so I thought I’d ask. 

Otherwise for a remote signer, a signing session can only be requested for a recipient who has a Docusign account. To do so, authenticate the request using the recipient's credentials, and do not specify a clientUserId. 

This is also described in our createRecipientView documentation

Let me know if you have any questions.


Thank you @karan.kaushik, I needed to know that.

 

I have tried to get the customerUserId from https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/enveloperecipients/list/ but clientUserId is not included with any GET query parameter using the flow that I’m following.

 

The behaviour matches with the documentation, so my problem cannot be solved as I expected.

 

This is my problem: I’m creating the envelope through the console and I’m creating the RecipientView using the API.

 

I guess I have two options:

  1. Create the envelope programmatically and then show the RecipientView.
  2. Notify to my clients and remind them that they have an email.

 

Thank you again.


Reply