We have a requirement to send a PDF document via the API and have the PDF fields converted to tabs for the signers. There can be multiple signers, and we send to the API the signers and the fields that should be mapped to those signers. Using a modified example from the API documentation (below), we include a second recipient and map the `DocusignInitialHere2` field to that one, where the other fields are mapped to recipient ID 1.
{
"status": "sent",
"emailSubject": "PDF Transform Example 2",
"recipients": {
"signers": [
{
"email": "sally@email.com",
"name": "Sally Dough",
"recipientId": "1",
"tabs": {
"initialHereTabs": [
{
"tabLabel": "DocusignInitialHere1"
},
{
"tabLabel": "DocusignInitialHereOptional1",
"optional": "true"
}
]
}
},
{
"email": "sue@email.com",
"name": "Sue Dough",
"recipientId": "2",
"tabs": {
"initialHereTabs": [
{
"tabLabel": "DocusignInitialHere2"
}
]
}
}
]
},
"documents": [
{
"documentId": "1",
"name": "contract.pdf",
"transformPdfFields": true,
"assignTabsToRecipientId": "1"
}
]
}
I see in the documentation that using PDF transformation will always assign all the tabs created to a single signer, but is there no way we can send through something like the above to ensure that Docusign knows which auto-created tabs to assign to the correct signers?
Back to Docusign.com


