What I am trying is, send a document with an attachment placeholder to the recipients so that, when they open the DocuSign mail, they can able to attach additional documents.
What I have done is, created an envelope and get the envelopId in the response
{
"status": "sent",
"emailSubject": "Example of one recipient, type signer",
"documents": [{
"documentId": "1",
"name": "contract.pdf",
"documentBase64": "base64 document bytes...",
}],
"recipients": {
"signers": [{
"name": "Lisa Simpson",
"email": "[email protected]",
"recipientId": "1",
"routingOrder": "1",
"tabs": {
"signHereTabs": [{
"xPosition": "150",
"yPosition": "200",
"documentId": "1",
"pageNumber": "1"
}],
}
}]
}
}
for attaching attachment, from the documentation I got
PUT /v2/accounts/{accountId}/envelopes/{envelopeId}/attachments
But, the thing I can not understand that, I create an envelope with a document and send it to the recipient, then I get an envelopeId
After that, why I should put the attachment placeholder? The envelope (DocuSign mail) already sent to the recipient.
How can I send an attachment placeholder via DocuSign REST API?