Download PDF
Download page Sending Documents for eSignature with OneSpan Sign Using the Conga eSignature API.
Sending Documents for eSignature with OneSpan Sign Using the Conga eSignature API
This use case describes how to integrate OneSpan Sign with Conga eSignature service, create a transaction, and send the documents for eSignature using the Conga eSignature integration API. Perform the following tasks to send documents for eSignature:
- Set up a OneSpan account
- Integrate OneSpan Sign with the Conga eSignature service
- Create a transaction
- Send for eSignature
Set Up a OneSpan Account
Before you start the setup, you must have a OneSpan account. Then, create a client app in your OneSpan account. While creating a client app, you get client ID and client secret parameter values. These parameter values are required to create the configuration for OneSpan.
For more information on creating a client app, see Creating Client App in OneSpan.
Integrate OneSpan with the Conga eSignature Service
To integrate OneSpan with the Conga eSignature service, create the configuration using the following API:
Method | PUT |
---|---|
Endpoint | /configurations |
Request Body |
CODE
Replace <client ID> and <client secret> with the exact values. |
Response | A 204 response code. |
Create a Transaction
Once OneSpan and the Conga eSignature service are integrated, you can create a transaction. To create a transaction, you must prepare a transaction payload. Call the following API to get the exact transaction payload field data:
Method | GET |
---|---|
Endpoint | /settings |
Request Parameter | signProvider: Select OneSpan from the drop-down list. |
Response | This API returns a transaction object with each field's settings, such as which fields are required, optional, or not supported, the data type, and the name and description of the fields. |
After preparing a transaction payload, call the following API to create a transaction:
Method | POST |
---|---|
Endpoint | /transactions |
Request Body |
|
Response | This API returns a transaction ID, which you can use to send the transaction to the recipients. |
Send for Signature
After creating a transaction, you need a transaction ID, recipient ID, and document ID to get the tagging URL. Once you get the tagging URL, you can add fields for each recipient to your document and send the document for eSignature.
Get transaction details
Call the following API to get the transaction ID, recipient ID, and document ID:
Method | GET |
---|---|
Endpoint | /transaction/{transactionId} |
Request Parameters |
|
Response | This API returns transaction details such as recipient details, document details, and reminder and expiration settings. |
Get a tagging URL
Call the following API to get the tagging URL:
Method | GET |
---|---|
Endpoint | /transaction/{transactionId}/taggingurls |
Request Parameters |
|
Response | This API returns a tagging URL, transaction ID, recipient ID and Document ID. |
Open the tagging URL in a browser to view the tagging page, which enables you to add fields for each recipient to your document. Click SEND TO SIGN, and then SEND to send the document for eSignature. The recipient receives an invitation email to review and sign the document. The recipient can open the document from the email and sign it.
Send the transaction
If you do not want to send the document directly from the tagging page, you can generate a signing URL and send it to the recipients through API. Call the following API to get the signing URL:
Method | GET |
---|---|
Endpoint | /transaction/{transactionId}/recipients/{recipientId}/signingurls |
Request Parameters |
|
Response | This API returns a signing URL, transaction ID, recipient ID, and Document ID. |
Once you get the signing URL, you can send it to the recipients. Call the following API to send the transaction:
Method | POST |
---|---|
Endpoint | /transaction/{transactionId} |
Request Parameters |
|
Response | A 204 response code. |
The recipient can open the document from the signing URL and sign it.