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
<script type="text/javascript"> | |
HelloSign.init("<?php echo $client_id ?>"); | |
HelloSign.open({ | |
url: "<?php echo $sign_url ?>", | |
uxVersion: 2, | |
allowCancel: true, | |
skipDomainVerification: true, | |
debug: true, | |
messageListener: function (eventData) { | |
(console.log("Got message data: " + JSON.stringify(eventData))); |
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
// embedded signature request using text tags | |
// this assumes you've initilized clientid and apiKey | |
SignatureRequest request = new SignatureRequest(); | |
request.addFile(new File("/onesign_texttags.pdf")); //one signer in this case, so my PDF has tags for signer0 only | |
request.setSubject("My First embedded signature request"); | |
request.setMessage("Awesome, right?"); | |
request.addSigner("jack@example.com", "Jack"); | |
request.setTestMode(true); | |
request.setUseTextTags(true); | |
request.setHideTextTags(true); |
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
curl 'https://api.hellosign.com/v3/signature_request/send' \ | |
-u 'my_app_key:' \ | |
-F 'title=NDA with Acme Co.' \ | |
-F 'subject=The NDA we talked about' \ | |
-F 'message=Please sign this NDA and then we can discuss more. Let me know if you have any questions.' \ | |
-F 'signers[0][email_address]=mymail@domain.com' \ | |
-F 'signers[0][name]=Jack' \ | |
-F 'signers[0][order]=0' \ | |
-F 'cc_email_addresses[0]=lawyer@example.com' \ | |
-F 'file[0]=@test.pdf' \ |
NewerOlder