Using the OnTask API, fields can be placed on a document's placeholders which can be used in a fill & sign task. This allows you to programmatically create signature, date, checkbox, initial, and text fields that your users interact with during the workflow runtime.
Specifics about the OnTask API can be found in the official documentation at docs.ontask.io.
The specific endpoints used in this sample are:
- An API key is generated for the group with at least the
Upload documents
andSet document fields
permissions.
{
"apiToken": "<YOUR-API-TOKEN>"
}
npm install
npm start