Created
January 8, 2021 19:37
-
-
Save Honestjoewillie/b0e1cc6f51d5a8795142059373653966 to your computer and use it in GitHub Desktop.
Part 1 - Non-Embedded Signature Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const hellosign = require('hellosign-sdk')({ key: 'Joe_API_KEY' }); | |
const opts = { | |
test_mode: 1, | |
title: 'NDA with Acme Co.', | |
subject: 'The NDA we talked about', | |
message: 'Please sign this NDA and then we can discuss more.', | |
signers: [ | |
{ | |
email_address: 'exxxxxx@dropbox.com', | |
name: 'Eric Dxxxxxt', | |
order: 0, | |
}, | |
{ | |
email_address: 'lixxxx@dropbox.com', | |
name: 'Lisa Kxxxxxx', | |
order: 1, | |
} | |
], | |
files: ['NDA.pdf'] | |
}; | |
hellosign.signatureRequest.send(opts).then((res) => { | |
console.log("success"); | |
console.log(res); | |
}).catch((err) => { | |
console.log(err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment