Skip to content

Instantly share code, notes, and snippets.

<?php
// Input your info:
$email = "***"; // your account email
$password = "***"; // your account password
$integratorKey = "***"; // your account integrator key, found on (Preferences -> API page)
// construct the authentication header:
$header = "<DocuSignCredentials><Username>" . $email . "</Username><Password>" . $password . "</Password><IntegratorKey>" . $integratorKey . "</IntegratorKey></DocuSignCredentials>";
<?php
// Input your info here:
$integratorKey = '***'; // found on Preferences -> API page
$username = '***'; // userId or email address
$password = '***'; // member password
$recipientName = '***'; // recipient (signer) name
$recipientEmail = '***'; // recipient (signer) email
$documentName = '***'; // copy doc with same name into this directory
@Ergin008
Ergin008 / requestSignatureOnDocument.js
Last active December 16, 2015 22:19
Request a signature on a document (using email deliver method)
// Request Signature on a Document (Node.js)
// To run this sample
// 1. Copy the file to your local machine and give .js extension (i.e. example.js)
// 2. Change "***" to appropriate values
// 3. Install async and request packages
// npm install async
// npm install request
// npm install fs
// 4. execute
@Ergin008
Ergin008 / RequestSignatureFromTemplate.m
Last active December 17, 2015 11:59
Request Signature via Template (Objective-C)
//
// API Walkthrough 1 - Signature Request via Template (Objective-C)
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter email, password, integrator key, name, templateId, and roleName and save
// 3. Compile and Run
//
// Enter your info:
@Ergin008
Ergin008 / GetEnvelopeInfo.m
Last active December 17, 2015 14:39
Get Envelope Information of one of your existing envelopes
//
// API Walkthrough 2 - Get Envelope Information (Objective-C)
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter email, password, integrator key, and the envelopeId of an existing envelope in your account
// 3. Compile and Run
//
// Enter your info:
@Ergin008
Ergin008 / GetRecipientInfo.m
Last active December 17, 2015 14:39
Get the recipient information for an existing envelope
//
// API Walkthrough 3 - Get Envelope Recipient Information (Objective-C)
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter email, password, integrator key, and the envelopeId of an existing envelope in your account
// 3. Compile and Run
//
// Enter your info:
@Ergin008
Ergin008 / GetDocsInfoAndDownloadDocs.m
Last active December 17, 2015 16:49
Get info on envelope documents and download docs
//
// API Walkthrough 6 - Get envelope documents info and download documents
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter your email, password, integrator key and envelopeId and save
// 3. Run the code
//
- (void)getDocumentInfoAndDownloadDocuments
@Ergin008
Ergin008 / GetStatusOfEnvelopes.m
Last active December 17, 2015 17:19
Get Status of a set of envelopes based on date and status filter
//
// API Walkthrough 5 - Get Status of Envelopes using Date and Status filter
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter your email, password, and integrator key and save
// 3. Run the code
//
// Enter your info:
@Ergin008
Ergin008 / EmbeddedSending.m
Last active December 17, 2015 17:28
Launches the tag-and-send view of an envelope in an embedded session
//
// API Walkthrough 7 - Launch the tag-and-send (aka sender) view of an envelope in an embedded session
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter your email, password, integrator key, name, templateId, and roleName and save
// 3. Run the code
//
// Enter your info:
@Ergin008
Ergin008 / EmbeddedSigning.m
Last active December 17, 2015 17:28
Launches the recipient (signer) view of an envelope in an embedded session
//
// API Walkthrough 8 - Launch the signing (recipient) view of an envelope in an embedded session
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter your email, password, integrator key, name, templateId, and roleName and save
// 3. Run the code
//
// Enter your info: