Hello everyone,
I have a simple task to complete, but since I'm new to this, I'm struggling a lot.
I have a contract document with several fields that need to be updated every time I call the API. These fields include contract number, date, client information, etc. My question is: how do I prepopulate these fields?
Below is a short preview of my document and how I currently call the API:
{
"templateId": "' + @templateId + '",
"templateRoles": s
{
"email": "' + @signerEmail + '",
"name": "' + @signerName + '",
"roleName": "Client"
}
],
"status": "sent"
}
How can I modify this to dynamically populate the fields in the document such as the contract number, date, and client details?
Thank you in advance for your help!
![](https://uploads-us-west-2.insided.com/docusign-en/attachment/7593bb54-2ab9-4fb6-9c09-11e130c7b25f.png)