Skip to main content
New Voice
Aug 21, 2024 12:17 PM UTC
Question

API Document Tabs not populating

deleted

5 replies

Docusign Employee
Aug 22, 2024 5:22 PM UTC

Hi @CraigM . In case you still have questions, please, repost it again.

Translate
New Voice
Feb 20, 2025 12:35 PM UTC

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"

},
{
"tabLabel": "LastName",
"value": "Doe"
},
{
"tabLabel": "Email",
"value": "test@test.com"

}
]
}
}
]
}
}
]
}
]
}

Thank you in advance!

Translate
Docusign Employee
Feb 20, 2025 12:47 PM UTC

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.

Translate
New Voice
Feb 20, 2025 1:07 PM UTC

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.

Translate
Docusign Employee
Feb 20, 2025 1:33 PM UTC

​@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.

 

Translate