Blog
Home/

Trending Topics: Latest from our forums (June 2020)

Inbar Gazit
Inbar GazitSr. Manager, Developer Content
Summary3 min read

How to send an envelope with optional recipients, how the Connect notification retry mechanism works, and how to create an envelope owned by a different user.

Here are some of the latest popular questions that the Docusign developers community asked on Stack Overflow in the month of June 2020. You too can ask questions by using the tag docusignapi in Stack Overflow.

Thread: Optional recipient role template docusign

Summary: The developer is trying to use a single template with either three or four recipients. One of the recipients is optional. They are having issues accomplishing this. They want to create the envelope in draft and send it later.

Answer: When specifying template roles, you can omit any roles that you do not wish to be used. Even if these roles already have tabs (signing elements) associated with them, if they are not included in the body of the POST request, they’ll not cause any issues when the envelope is sent. If you want to create the envelope in draft and send it later, you should set the mege_roles_on_draft query parameter to true to ensure these other roles are removed.

Thread: What happens to Docusign envelope notifications when webhook fails?

Summary: The developer is asking about the retry mechanism that Docusign Connect is using and how it works when events fail to acknowledge.

Answer: When registering a webhook with Docusign Connect, you can specify RequireAcknowledgment = true. This option ensures that your server receives the message from Connect by requiring that your server acknowledge it. If the message is not acknowledged within 24 hours, Docusign Connect will send it again. It will do so up to 10 times or until an acknowledgement is received. This is different from a negative acknowledgement situation when Docusign receives a 404 or 500 error. In that case, the message would fail and simply show in the Connect logs.

Thread: RestAPI “create” envelope where the envelope belongs to a different user than the API user?

Summary: The developer is asking how to create envelopes that belong to a different user other than the user by which the API request is authenticated.

Answer: There are a few options here. First, if the developer can use JWT (JSON Web Token) authentication, then they can specify a different userId for the user to impersonate before they receive a token for API calls. If the goal is just to share the content of the envelope with another user, they can do that by adding that user as a CC recipient of the envelope. Finally, if they need to actually perform a custody transfer of an envelope, they can only do this via the eSignature SOAP API.

Inbar Gazit
Inbar GazitSr. Manager, Developer Content

Inbar Gazit has been with Docusign since 2013 in various engineering roles. Since 2019 he has focused on developer content. Inbar works on code examples including the launchers, available on GitHub in eight languages, and helps build sample apps showcasing the various Docusign APIs. He is also active on StackOverflow, answering your questions. Inbar can be reached at inbar.gazit@docusign.com.

More posts from this author

Related posts

  • Developer Spotlight

    Developer Spotlight is Coming to Docusign Community!

    Matthew Lusher
    Matthew Lusher
  • Breaking the Language Barrier: Why Large Language Models Need Open Text Formats

    Dan Selman
    Dan Selman
  • Understanding Levenshtein Distance: Applications to AI-Generated Text

    Vincent Pan
    Vincent Pan

Developer Spotlight is Coming to Docusign Community!

Matthew Lusher
Matthew Lusher

Understanding Levenshtein Distance: Applications to AI-Generated Text

Vincent Pan
Vincent Pan

Discover what's new with Docusign IAM or start with eSignature for free

Explore Docusign IAMTry eSignature for Free
Person smiling while presenting