Hi Everyone I am new to DocuSign and currently integrating it with MuleSoft using the "Envelopes Post Envelopes" API. I am sending the following payload, but the envelope is not being populated with the data I am passing. However, when I include xPosition and yPosition, the data appears in the envelope. My goal is to populate the fields using tabLabel instead, but it is not working. How can I resolve this issue? Template with Standard Text field
Payload:
{ "brandId": "d380fe66-xxxxxxxxxxxxx", "templateId": "63ebae68-xxxxxxxxxxxxxxxxxxxx", // Need full template ID "status": "sent", "compositeTemplates": [ { "templateId": "63ebae68-xxxxxxxxxxxxxxxxx", // Should match above "sequence": "1", "inlineTemplates": [ { "sequence": "1", "recipients": { "signers": [ { "roleName": "Signer1", // Match template role name exactly "email": "test@test.com", "name": "TestSigner", "recipientId": "1", "tabs": { "textTabs": [ { "tabLabel": "FirstName", "value": "John"
Hi @Nishant . You need an "anchorString" or the "x/yPosition" in the body to place the field.
If your document contains the words "Firstname" and "Lastname" which are the places you'd like to place the fields above, then instead of having "tabLabel": "LastName", you need to use "anchorString": "LastName".
Only having "tabLabels" will not be enough to place the fields via API.
Hi @Guilherme.Flores Thank you for your response. It works!!! But in my case, the template is managed by a different team, and I don’t have control over it. Is there any way I can make it work using "tabLabels"? Also, I am not sure if "anchorString" will work for checkboxes and radio buttons as well.
@Nishant You're welcome! Unfortunately, no. In our tests only providing the "tabLabel" isn't enough for the mapping. Regarding the "anchorStrings" for checkboxes, they work the same way.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.