Skip to main content
Solved

How to create dynamic template for update receipient with resend_envelope query paran

  • July 18, 2025
  • 3 replies
  • 67 views

Forum|alt.badge.img+1

The template below is currently configured to display a voided envelope when the email address is updated. At present, the content is static.

 

Have a requirement to display different text based on either a flag / custom field when making a call to v2.1/accounts/xxxxx/envelopes/xxxxx/recipients?resend_envelope=true

 

How can I pass a custom field and make this template conditionally display text based on that custom field? Appreciate your support!

Best answer by paige.rossi

I don’t believe that it’s possible to update the content of a document in your envelope based on the status of the envelope. When an envelope is voided, anyone who accesses the envelope will see a “VOID” watermark across the page. Recipients will also receive a notification letting them know that the envelope has been voided, and if the envelope is voided through the API, the text entered in the voidedReason property should be included in the email notification to signers so you can include custom text there.

3 replies

paige.rossi
Docusign Employee
Forum|alt.badge.img+5
  • Docusign Employee
  • 9 replies
  • Answer
  • July 22, 2025

I don’t believe that it’s possible to update the content of a document in your envelope based on the status of the envelope. When an envelope is voided, anyone who accesses the envelope will see a “VOID” watermark across the page. Recipients will also receive a notification letting them know that the envelope has been voided, and if the envelope is voided through the API, the text entered in the voidedReason property should be included in the email notification to signers so you can include custom text there.


Forum|alt.badge.img+1
  • Author
  • Newcomer
  • 1 reply
  • July 23, 2025

Hi ​@paige.rossi Thanks for your response. Yes, we are using the voidedReason for other voided templates. For this specific scenario - where the email address of the customer gets updated we make the below API call to update the recipient with the resend_envelope flag and docusign voids the previous envelope and sends out an email to the previous email address. 

 v2.1/accounts/xxxxx/envelopes/xxxxx/recipients?resend_envelope=true

For the voiding template, I suppose docusign internally uses the below template. For this particular scenario, any way we could display different texts dynamically?

 


paige.rossi
Docusign Employee
Forum|alt.badge.img+5
  • Docusign Employee
  • 9 replies
  • July 23, 2025

It looks like you’re looking at what’s defined in the resource file for your account. You can edit this on an account level but unfortunately it can’t be set dynamically.