When using REST to create a standard envelope with the Docusign API, I can add a property to the "signer" recipient of "suppressEmails": "true", which works to prevent any emails from being sent from Docusign, and allows me to handle the entire signature request via an embed.
However, I have refactored that basic envelope creation request to use the compositeTemplates workflow. I have this functional with the embed URL being generated correctly, however, the suppressEmails flag no longer works to prevent Docusign from sending the user an email notification.
Is there something I am missing? Here is an example of the envelope request:
{
"compositeTemplates":[
{
"compositeTemplateId":"1",
"document":{
"documentId":"1",
"name":"<redacted>",
"fileExtension":"pdf",
"documentBase64":"<redacted>",
"signerMustAcknowledge":"accept"
},
"inlineTemplates":[
{
"sequence":"1",
"recipients":{
"signers":[
{
"recipientId":"1",
"routingOrder":"1",
"clientUserId":"<redacted>",
"name":"<redacted>",
"email":"<redacted>",
"roleName":"signer",
"suppressEmails":"true"
}
]
}
}
],
"serverTemplates":null
},
{
"compositeTemplateId":"2",
"inlineTemplates":[
{
"sequence":"2",
"recipients":{
"signers":[
{
"recipientId":"1",
"routingOrder":"1",
"clientUserId":"<redacted>",
"name":"<redacted>",
"email":"<redacted>",
"roleName":"signer",
"suppressEmails":"true"
}
]
}
}
],
"serverTemplates":[
{
"sequence":"2",
"templateId":"<guid>"
}
]
}
],
"emailSubject":"Please sign",
"status":"sent"
}
Thanks!