Sample Code

SigningHub sample code

Download Postman sample code that illustrates how to automate various SigningHub workflows programmatically.

SigningHub - add and populate form fields in a document

This example will explain how to populate fields on a form, create a date field and add additional fields to the document in an electronic signing workflow.

SigningHub - sign with an Advanced Electronic signature

This sample code will illustrate how to sign a document in SigningHub using an Advanced Electronic signature.

SigningHub - Individual signing

An Individual signing workflow allows the Document Owner to send a document for sign off to multiple users with only one workflow. This sample code will show developers how to programmatically configure an Individual signing workflow.

SigningHub - In-person signing

In-person allows a Meeting Host to log into SigningHub and let a Signer without a SigningHub account sign a document. In this example, a document workflow will be setup for signing by the Meeting Host and another signer.

SigningHub - Tight integration sample

Tight integration allows developers to embed SigningHub functionality directly into their own business applications. This example code will illustrate how to accomplish tight integration into a third-party application.

Download Workflow Evidence report

The SigningHub Workflow Evidence Report is a report with forensic evidence of the events that happened during a signing workflow. This report can be retrieve programmatically from SigningHub after the signing workflow has been completed. This example code will explain the download request via the SigningHub API.

Retrieve Workflow History

SigningHub can send a particular workflow's history / audit trail to a third-party through an API call. This example code will show a developer how to retrieve the workflow history in an XML format.

Protect document access with an OTP

To protect confidentiality, extra authentication can be configured to protect access to a document. In this example, OTP protection will be added to the document. The Signer will first have to enter an OTP before they can view the document in SigningHub.

SigningHub - create a workflow with two signers

The sample code in this article will demonstrate how to configure a workflow in SigningHub that will allow multiple signers to sign the document. The process is fully automated and both documents are signed programmatically using the Sign request of the SigningHub API.

SigningHub - automate a workflow with one signer

This sample code will demonstrate how to sign a document using the sign request of the SigningHub API.

SigningHub - create a workflow using a template

Templates makes it easy to sign documents that you sign regularly, for example, claim forms, attendance forms, leave applications, etc. This sample code will show a developer to quickly automate a workflow with a template using the SigningHub API.

SigningHub - create a digital signing workflow

This sample code illustrates how to create a simple digital signing workflow on SigningHub using the SigningHub api to automate the process.

SigningHub - create an electronic signing workflow

The sample code in this article will show a developer how to configure a simple electronic signing workflow through the SigningHub API.

SigningHub integration models

This article explains the difference between the two SigningHub integration models: loose and tight integration. The article also contains a link to the downloadable SigningHub sample code.