API – DocuSign Integration
This article describes how to use DocuSign with the API.
As a quick overview, our integration with DocuSign works as follows: You will send an HTTP post to an endpoint in LoanPro specifying the custom form ID and the loan ID, and you will receive a response back from the API with an embedded URL for DocuSign’s website. When the link is opened in a browser, you will be able to review the document and then send the document to the customer for signing. The customer will receive an email notification with a link to DocuSign’s website to sign the form. Once the form has been signed by the customer, a callback from DocuSign will be made to LoanPro to save the signed form in the documents section of the loan.
Please note that LoanPro’s integration is built from the lender’s perspective and assumes that the lender will first review the document and send it to the customer. It then requires the customer to open the email and click the link to sign it, all independently of LoanPro. It does not provide a method for the customer to sign it directly via the embedded URL.
The API call to initiate this process from LoanPro is as follows:
This is the JSON payload required for this request (make sure to replace the loanId and customFormId as desired):
The response you will receive from the LoanPro API will look similar to the following, and will include the embedded URL for DocuSign:
That URL can be then be opened in a browser to continue the process with DocuSign. LoanPro will not be involved in the process again until after the document has been signed by the customer. At that time then DocuSign will send a callback request to LoanPro’s API which will send the signed document as a PDF and the signed document will be attached to the loan account.