Reputation: 5
I made custom reminders for my integration that resends the envelope to user. This is work for me:
PUT https://{{env}}.docusign.net/restapi/{{version}}/accounts/{{acctId}}/envelopes/{{envelopeId}}/recipients?resend_envelope=true
{
"signers": [
{
"recipientId": "3",
"name": "Jane Doe",
"email": "[email protected]"
}
]
}
But I want to send different subject to include "Reminder:"+old subject, how can I modify the emailSubject for specific recipient (which I'm passing to Body), I tried:
{
"signers": [
{
"recipientId": "1",
"name": "Igor",
"email": "[email protected]",
"emailNotification":
{
"emailSubject": "ReMiNdEr"
}
}
]
}
But this did not work. Any suggestions?
Upvotes: 0
Views: 95
Reputation: 5
So, to resend for recipient envelope with new Subject I need first to determine this property in my POST request, and then I can use PUT with following to update subject, body. If I will not determine this in my 1st POST request, this PUT will not work!
"emailNotification": { "emailBody": "NEWSUBJ 44 5", "emailSubject": "NEWNEWNEW 44 5" },
Upvotes: 0
Reputation: 14050
You will need to do a POST
to the recipients endpoint to update the recipientEmailNotification
for the specific recipient with the emailSubject
and emailBody
you wish.
See blog post with code examples in six languages (using the various DocuSign SDKs)
Upvotes: 1