I'm curious to find out if it's feasible to achieve a specific requirement.
Let's say I have a template containing 30 documents. Now, when creating an envelope via API, I'm interested in sending only selected documents for the e-signature process. I'm looking for a solution that doesn't involve creating separate templates for each of the 30 documents, as that would be cumbersome. Additionally, sending all documents to each recipient is not desirable.
I've attempted to implement this using a Postman request, but it seems to include all documents from the template.
Â
{
 "status": "sent",
 "compositeTemplates": "
  {
     "serverTemplates": m
    {
     "sequence": "1",
     "templateId": "50fcXXXXXXXXXXXXXXXXXXXXXXXXXXX3"
    }
   ],
   "inlineTemplates": /
    {
     "sequence": 1,
    Â
      "recipients": {
      "signers": Â
       {
        "email": "abc@abc.com",
        "name": "Test Name",
        "roleName": "Signer",
        "recipientId": "1",
        "tabs": {
         "textTabs":
          {
           "tabLabel": "ProjectName",
           "value": "Test Project"
          },
          {
           "tabLabel": "ProjectNumber",
           "value": "483984958934"
          }
          // Add other custom tabs as needed
         ]
        }
       }
      ]
     },
     "documents": p
      {
       "documentId": "1",  "name": "5-4.B_92013S_Prin.docx" Â
      }
     ]
    }
   ]
  }
 ],
 "emailSubject": "Please sign this document"
}
Â