SequrSign API Documentation

Welcome to the Seqursign API Documentation. Seqursign is a powerful electronic signature solution that allows you to seamlessly integrate e-signing capabilities into your web applications. This documentation provides comprehensive guidance on how to utilize the Seqursign API to manage documents, collect signatures and streamline your signing processes.

Authentication

To access the Seqursign API endpoints, you need to authenticate your requests using an API key. You can do a one-time generation of this key from your Seqursign account settings. Include the obtained API key as a parameter in the header of your API requests.

apiKey: <your-api-key>
API Endpoints
Signature API

Electronically sign a document yourself or send out for digital signatures to other involved parties. Using the API below, one can upload a document, insert signature or other custom placeholders and send the document to a maximum of 4 signatories.

How to make an API call

https://seqursign.com/app/sign/

Pass the parameters below in the body of the POST request.
Parameter
file required Send the pdf file to be edited
firstName required First name of the sender
lastName optional Last Name of the sender
emailId required Email id of the sender
companyName required Company name of the sender
jobTitle required Job title of the sender
url required URL of the page to return to after submitting the document for signature. Eg: your company’s home page.
selfSign required Expecting string of value "true" or "false".
serialOrder required Expecting string of value "true" or "false".
recipientDetails required Expected in the json string format {"recipientList" :[{"name":"enter name of recipient 1 here", "email":"enter email of recipient 2 here"}, {"name":"enter name of recipient 2 here", "email":"enter email of recipient 2 here"}]}
API Response
https://seqursign.com/pdfPreviewApp?docName=<docName;>&id=<id>&firstName=<firstName>&lastName=<lastName>&emailId=<emailId>&companyName=<companyName>&jobTitle=<jobTitle>&selfSign=<true>&serialOrder=<true>&name=<name1,name2>&email=<email1,email2>&url=<url>&docId=<docId>
The API returns the redirect URL to which you webpage should redirect to and thereby load the pdf document for editing. Please note that the length of recipientList should not exceed 3 if selfSign is true and it should not exceed 4 if selfSign is false.
Check Document Status API

This API enables the user to check the status of the Document submitted through Seqursign

How to make an API call

https://seqursign.com/checkStatus?docId=<docId>

Pass the id of the required document as query parameter of the GET request.
API Response
The API sends a JSON response in the following format:
{

“documentId”:  “101”,

“status”:  “inprogress”

}
If the document signing is completed by all the requested signatories, then the response will also include a download link.
{

“downloadLink”:  “https://seqursign.com/download/<userId>/<docId>/<docName>”,

“documentId”:  “101”,

“status":  “completed”

}
If any of the signatories decline the signature request, the status will be marked as "declined" and the response will include the reason for the decline.
{

“reason”:  “intend for declining will be stated here”,

“documentId”:  “101”,

“status":  “declined”

}
The following are the statuses used in Seqursign:
Status
underprocessing This status is generated when the document is in the process of being created.
pending This status is generated when the document has been send out for signature, however the recipient has not viewed/opened the document.
inprogress The recipient has received and viewed the document, but has not signed it yet.
completed The recipient has completed signing the document.
declined The recipient has declined signing the document.
expired Document has reached the chosen expiry date and removed from the system.