I Can’t find any way to set prefill tabs data
thru all posts it looked like I should do it this way, but it doesn't work
let results = await envelopesApi.createEnvelope(accountId, {
envelopeDefinition: {
templateId: 'xxxxxxxxxxxxxxxxx',
templateRoles: [
{
email: 'reciepient@gmail.com',
name: 'john doe',
roleName: 'client'
},
],
tabs: {
prefillTabs: {
textTabs: [
{
tabLabel: 'name',
value: 'Jabberwocky!',
},
{
tabLabel: "text",
value: 'lorem ipsum'
}
]
}
},
status: 'sent'
},
});
Back to Docusign.com




