Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Honestjoewillie/b0e1cc6f51d5a8795142059373653966 to your computer and use it in GitHub Desktop.
Save Honestjoewillie/b0e1cc6f51d5a8795142059373653966 to your computer and use it in GitHub Desktop.
Part 1 - Non-Embedded Signature Request
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