Integrations
Learn more
Contact us
Simple Sign International AB
Karlavägen 20
11431 Stockholm, SWEDEN
Phone: +46(0)10 750 09 66
Recommended by iOSXpert Business auf Mac & iPhone GmbH as the 2020 software of choice!
Returns the information about your Simple Sign Account.
access_token (required)
The access token of your account
Returns an Account object
GET https://esign.simplesign.io/v3/account
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/account?access_token={your access token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:".$err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/account?access_token={your access token}",
"method": "GET"
}
$.ajax(settings).done(function(response) {
console.log(response);
});
Verifies whether a Simple Sign Account exists for the given email address.
Note This method is restricted to paid API users.
email (required)
Email address to check account
Returns a successful message.
GET https://esign.simplesign.io/v3/verifyaccount
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/verifyaccount?email=clarkkent@yopmail.com",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/verifyaccount?email=clarkkent@yopmail.com",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Updates the properties and settings of your Simple Sign Account.
access_token(required)
User access token
full_name(optional)
Full name of user account
company (optional)
User company
address (optional)
User address
city(optional)
User city
phone_no (optional)
User phone no
reg_no (optional)
User Reg no
post_code (optional)
User Post code
Returns a successful message.
POST https://esign.simplesign.io/v3/updateaccounta
$curlParams['access_token'] = '{your access token}';
$curlParams['full_name'] = '{John Doe}';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/updateaccount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('full_name', '{John Doe}');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/updateaccount",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Creates a new Simple Sign Account that is associated with the specified email address.
email (required)
The email for the new Account
password (required)
The password for the new Account
full_name (required)
The full name of the new Account holder
company (required)
The company associated with the new Account
phone_no (optional)
The phone number of the new Account holder
Returns a successful message.
POST https://esign.simplesign.io/v3/createaccount
$curlParams['email'] = '{email address}';
$curlParams['password'] = '{your password}';
$curlParams['full_name'] = '{your full name}';
$curlParams['company'] = '{your company name}';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/createaccount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('email', '{email address}');
form.append('password', '{your password}');
form.append('full_name', '{your full name}');
form.append('company', '{your company name}');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/createaccount",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Returns a list of the Templates that are accessible to you.
access_token (required)
User access token
pagelimit (optional)
Records per page limits (default: 10)
current_page (optional)
Page index starting from 0 (default: 0)
Returns aTemplate object
GET https://esign.simplesign.io/v3/templates
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/templates?access_token={your access token}&pagelimit={page limit}¤t_page={page number}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/templates?access_token={your access token}&pagelimit={page limit}¤t_page={page number}",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Creates a template from the selected file. This template is added to your Simple Sign account using the corresponding user access token.
access_token (required)
User access token
file (required)
Use file to upload document to send
Returns a Template id
POST https://esign.simplesign.io/v3/createtemplate
$cfile = new CURLFile(realpath('singlepage.pdf'));
$curlParams['access_token'] = '{your access token}';
$curlParams['file'] = $cfile;
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/createtemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 300,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
$return = json_decode($response,true);
}
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("file", $('#file_upload')[0].files[0]); //for jQuey code
form.append("file", document.getElementById('file_upload').files[0]); //for javascript code
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/createtemplate",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
<form action="#" method="post" enctype="multipart/form-data">
<input type="file" name="file_upload" id="file_upload">
<input type="button" name="fileUpload" id="fileUpload" value="Upload">
</form>
Completely deletes the specified template(s) from your Simple Sign account. Provide the specific template ID(s) to delete the corresponding template(s).
access_token(required)
User access token
templates (optional)
Returns a successful message.
POST https://esign.simplesign.io/v3/deletetemplates
$curlParams['access_token'] = '{your access token}';
$curlParams['templates'] = json_encode([41, 42]);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/deletetemplates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('full_name', '{John Doe}');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/updateaccount",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Returns information about the users in your organization as well as their account settings. If your access token is incorrect, the error message of "Invalid access_token" will be returned.
access_token (required)
User access token
pagelimit (optional)
Records per page limits (default: 10)
current_page (optional)
Page index starting from 0 (default: 0)
Returns Users object
GET https://esign.simplesign.io/v3/users
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/users?access_token={your access token}&pagelimit={page limit}¤t_page={page number}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/users?access_token={your access token}&pagelimit={page limit}¤t_page={page number}",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Creates new users in your Simple Sign organization and adds those new users into specified groups and roles. To add multiple users use multiple user keys.
access_token (required)
User access token
users (required)
POST https://esign.simplesign.io/v3/createusers
$users = array(
[
'user_member' => ['full_name' => 'Robin Williams', 'email' => 'robinwilliams@yopmail.com', 'password' => 'robin123'],
'groups' => [['group_name' => 'Developers', 'role_name' => 'Admin'], ['group_name' => 'Default', 'role_name' => 'Member']]
],
[
'user_member' => ['full_name' => 'Heath Ledger', 'email' => 'heathledger@yopmail.com', 'password' => 'heath123'],
'groups' => [['group_name' => 'Default', 'role_name' => 'Member']]
]
);
$curlParams['access_token'] = '{your access token}';
$curlParams['users'] = json_encode($users);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/createusers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('users', '[{"user_member": {"full_name": "Robin Williams", "email": "robinwilliams@yopmail.com", "password": "robin123"}, "groups": [{"group_name": "Developers", "role_name": "Admin"}, {"group_name": "Default", "role_name": "Member"}]}, {"user_member": {"full_name": "Heath Ledger", "email": "heathledger@yopmail.com", "password": "heath123"}, "groups": [{"group_name": "Default", "role_name": "Member"}]}]');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/createusers",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Updates user information along with groups and roles. To update multiple users use multiple user keys.
access_token(required)
User access token
Users (required)
POST https://esign.simplesign.io/v3/updateusers
$users = array(
[
'user_member' => ['account_id' => 284, 'full_name' => 'Robin Will', 'email' => 'robinwill@yopmail.com', 'password' => 'robin123'],
'groups' => [['group_name' => 'Developers', 'role_name' => 'Member'], ['group_name' => 'Default', 'role_name' => 'Admin']]
],
[
'user_member' => ['account_id' => 285, 'full_name' => 'Heath Led', 'email' => 'heathled@yopmail.com', 'password' => 'heath123'],
'groups' => [['group_name' => 'Default', 'role_name' => 'Admin']]
]
);
$curlParams['access_token'] = '{your access token}';
$curlParams['users'] = json_encode($users);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/updateusers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('users', '[{"user_member": {"account_id": 284, "full_name": "Robin Will", "email": "robinwill@yopmail.com", "password": "robin123"}, "groups": [{"group_name": "Developers", "role_name": "Member"}, {"group_name": "Default", "role_name": "Admin"}]}, {"user_member": {"account_id": 285, "full_name": "Heath Led", "email": "heathled@yopmail.com", "password": "heath123"}, "groups": [{"group_name": "Default", "role_name": "Admin"}]}]');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/updateusers",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Get details about all of the users in your organization. Each account_id corresponds to an organizational account and each access_token corresponds to a specific user within that organization.
access_token (required)
User access token
account_id (required)
Account id
Returns Users object
POST https://esign.simplesign.io/v3/teaminfo
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/userinfo?access_token={your access token}&account_id={account id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/userinfo?access_token={your access token}&subuser_id={account id}",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Deletes users from your Simple Sign organizational account by providing the specific account ID, to delete multiple accounts provide multiple account IDs.
access_token (required)
User access token
users (required)
POST https://esign.simplesign.io/v3/deleteusers
$curlParams['access_token'] = '{your access token}';
$curlParams['user'] = json_encode([284, 285]);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/deleteusers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('user', '[284, 285]');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/deleteusers",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Activate and deactivate users by providing the account ID and the correct user access token. Additionally, provide the status you wish to assign to the corresponding user.
access_token(required)
User access token
account_id (required)
User access token
status (required)
active for activate, inactive for deactivate the team member
POST https://esign.simplesign.io/v3/changeuserstatus
$curlParams['access_token'] = "{your access token}";
$curlParams['account_id'] = "{your account id}";
$curlParams['status'] = "active";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/changeuserstatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('account_id', '{your account id}');
form.append('status', 'active');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/changeuserstatus",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Send a new signature request with your chosen file (.pdf .docx .xls file type only). If you want to add a signature box for your recipients, then input the tag #signer-1# in the location of the document where you want the signature box to be. To add signature boxes for additional reipients add #signer-2#, #signer-3#, etc. for the second recipient, 3rd recipient, etc.
access_token (required)
User access token
file (required)
Use file which indicates the uploaded document file(s) to be sent for signature
recipients (required)
documentfields (optional)
attachment (optional)
Attach an extra file with your document (can be .pdf, .docx, .xls)
attachment_name (optional)
Add name to attached file
attachment_mandatory (optional)
Make it mandatory for your recipient to read your attachment before being able to sign the document (1 for mandatory and 0 for optional)
sender_email (optional)
Set this parameter if you want to send the document from this specific sub-user’s email
visible_name (optional)
The title of your document (shown to the recipients)
language_id (optional)
Language (en, sv, de, fi, fr, no, da)
due_days (optional)
Number of days until document expires (e.g. 1, 2, 12)
reminder_days (optional)
Number of days until a reminder is sent (e.g. 1, 2, 12) and should be noted that the reminder is only sent to those who haven't signed
invitation_message (optional)
Invitation message you wish to to display in the invitation email
confirmation_message (optional)
Confirmation message you wish to send after the document is signed
video_title (optional)
Title of the video you want to display on the signing page
video or video_url (optional)
Use video_url to add a YouTube or Vimeo video to the signing page while on the other hand using the variable video to upload your own video file (file type must be mp4 and file size must be less than 10mb)
invitation_url (optional)
Invitation_url returns the signing URL for your recipient instead of sending them an invitation email for them to sign (1 for return link and 0 for sending document via email)
Add signature box to PDF (optional)
Minimum font size must be 16px, font style must be Arial
Returns asuccessful message
POST https://esign.simplesign.io/v3/senddocument
$cfile = new CURLFile(realpath('singlepage.pdf'));
$recipients = array(
[
'people_fields' => ['name'=>'John Smith', 'email'=>'johnsmith@yopmail.com', 'personal_no'=>'19800130-1234', 'mobile'=>'+46701234567', 'address'=>'Sturegatan 1', 'city'=>'Stockholm', 'zipcode'=>'111 22'],
'organization_fields' => ['name'=>'Tesla Innovations AB', 'org_no'=>'556677-8899', 'phone'=>'+46754893027'],
'details' => ['recipient_role'=>'CEO', 'authentication'=>'Regular Signature', 'invitation_type' => 'email', 'invitation_order' => '1', 'confirmation' => 'email', 'id_attachment' => 'no']
],
[
'people_fields' => ['name'=>'Gillian Andersson', 'email'=>'gillianandersson@yopmail.com', 'personal_no'=>'19800130-0122', 'mobile'=>'+46701255487', 'address'=>'Sturegatan 2', 'city'=>'London', 'zipcode'=>'555 88'],
'details' => ['recipient_role' => 'EMPLOYEE', 'authentication' => 'pin via sms', 'invitation_type' => 'pos', 'invitation_order' => '1', 'confirmation' => 'email', 'id_attachment' => 'no']
]
);
$curlParams['access_token'] = '{your access token}';
$curlParams['file'] = $cfile;
$curlParams['recipients'] = json_encode($recipients);
$curlParams['language_id'] = 'en';
$curlParams['invitation_message'] = 'This is invitation message';
$curlParams['confirmation_message'] = 'This is confirmation message';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/sendtemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$('#fileUpload').click(function() {
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("recipients", '[{"people_fields": {"name":"John Smith", "email": "johnsmith@yopmail.com", "personal_no": "19800130-1234", "mobile": "+46701234567", "address": "Sturegatan 1", "city": "Stockholm", "zipcode": "111 22"}, "organization_fields": {"name": "Tesla Innovations AB", "org_no": "556677-8899", "phone": "+46754893027"}, "details": {"recipient_role": "CEO", "authentication": "Regular Signature", "invitation_type": "email", "invitation_order": "1", "confirmation": "email", "id_attachment": "no"}}, {"people_fields": {"name":"Gillian Andersson", "email": "gillianandersson@yopmail.com", "personal_no": "19800130-0122", "mobile": "+46701255487", "address": "Sturegatan 2", "city": "London", "zipcode": "555 88"}, "details": {"recipient_role": "EMPLOYEE", "authentication": "pin via sms", "invitation_type": "pos", "invitation_order": "1", "confirmation": "email", "id_attachment": "no"}}]');
form.append("file", $('#file_upload')[0].files[0]); //for jQuey code
form.append("file", document.getElementById('file_upload').files[0]); //for javascript code
form.append("language_id", "en");
form.append("invitation_message", "This is invitation message");
form.append("confirmation_message", "This is confirmation message");
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/senddocument",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
<form action="#" method="post" enctype="multipart/form-data">
<input type="file" name="file_upload" id="file_upload">
<input type="button" name="fileUpload" id="fileUpload" value="Upload">
</form>
Creates and sends a new signature request based off of the template specified with the document_id parameter.
access_token (required)
User access token
document_id (required)
Use document_id to create a signature request
recipients (required)
documentfields (optional)
sender_email (optional)
Set this parameter if you want to send the document from this specific sub-user’s email
visible_name (optional)
The title of your document (shown to the recipients)
language_id (optional)
Language (en, sv, de, fi, fr, no, da)
due_days (optional)
Number of days until document expires (e.g. 1, 2, 12)
reminder_days (optional)
Number of days until a reminder is sent (e.g. 1, 2, 12) and should be noted that the reminder is only sent to those who haven't signed
invitation_message (optional)
Invitation message you wish to to display in the invitation email
confirmation_message (optional)
Confirmation message you wish to send after the document is signed
video_title (optional)
Title of the video you want to display on the signing page
video or video_url (optional)
Use video_url to add a YouTube or Vimeo video to the signing page while on the other hand using the variable video to upload your own video file (file type must be mp4 and file size must be less than 10mb)
Returns a succesfulmessage
POST https://esign.simplesign.io/v3/sendtemplate
$recipients = array(
[
'people_fields' => ['name' => 'John Smith', 'email' => 'johnsmith@yopmail.com', 'personal_no' => '19800130-1234', 'mobile' => '+46701234567', 'address' => 'Sturegatan 1', 'city' => 'Stockholm', 'zipcode' => '111 22'],
'organization_fields' => ['name' => 'Tesla Innovations AB', 'org_no' => '556677-8899', 'phone' => '+46754893027'],
'details' => ['recipient_role' => 'CEO', 'authentication' => 'Regular Signature', 'invitation_type' => 'email', 'invitation_order' => '1', 'confirmation' => 'email', 'id_attachment' => 'no']
],
[
'people_fields' => ['name' => 'Gillian Andersson', 'email' => 'gillianandersson@yopmail.com', 'personal_no' => '19800130-0122', 'mobile' => '+46701255487', 'address' => 'Sturegatan 2', 'city' => 'London', 'zipcode' => '555 88'],
'details' => ['recipient_role' => 'EMPLOYEE', 'authentication' => 'Regular Signature', 'invitation_type' => 'pos', 'invitation_order' => '1', 'confirmation' => 'email', 'id_attachment' => 'no']
]
);
$curlParams['access_token'] = '{your access token}';
$curlParams['document_id'] = '{document_id}';
$curlParams['recipients'] = json_encode($recipients);
$curlParams['language_id'] = 'en';
$curlParams['invitation_message'] = 'This is invitation message';
$curlParams['confirmation_message'] = 'This is confirmation message';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/sendtemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("document_id", "{document_id}");
form.append("recipients", '[{"people_fields": {"name":"John Smith", "email": "johnsmith@yopmail.com", "personal_no": "19800130-1234", "mobile": "+46701234567", "address": "Sturegatan 1", "city": "Stockholm", "zipcode": "111 22"}, "organization_fields": {"name": "Tesla Innovations AB", "org_no": "556677-8899", "phone": "+46754893027"}, "details": {"recipient_role": "CEO", "authentication": "Regular Signature", "invitation_type": "email", "invitation_order": "1", "confirmation": "email", "id_attachment": "no"}}, {"people_fields": {"name":"Gillian Andersson", "email": "gillianandersson@yopmail.com", "personal_no": "19800130-0122", "mobile": "+46701255487", "address": "Sturegatan 2", "city": "London", "zipcode": "555 88"}, "details": {"recipient_role": "EMPLOYEE", "authentication": "Regular Signature", "invitation_type": "pos", "invitation_order": "1", "confirmation": "email", "id_attachment": "no"}}]');
form.append("language_id", "sv");
form.append("invitation_message", "This is invitation message");
form.append("confirmation_message", "This is confirmation message");
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/sendtemplate",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Gets the complete information of all people details from your Simple Sign account with the access token.
access_token (required)
User access token
pagelimit (optional)
Records per page limits (default: 10)
current_page (optional)
Page index starting from 0 (default: 0)
Returns People object
GET https://esign.simplesign.io/v3/people
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/people?access_token={your access token}&pagelimit={page limit}¤t_page={page number}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/people?access_token={your access token}&pagelimit={page limit}¤t_page={page number}",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Adds new people into contact directory. To add multiple people use multiple people_fields keys while putting the contact data in the people variable. To connect that people with an organization simply provide the name of the organization in people_fields key.
access_token (required)
User access token
people (required)
Returns People id(s) object
POST https://esign.simplesign.io/v3/addpeople
$people = array(
[
'people_fields' => ['first_name' => 'John', 'last_name' => 'Smith', 'email' => 'johnsmith@yopmail.com', 'personal_no' => '19811228-9874', 'mobile' => '+46714879421', 'address' => 'Sturegatan', 'city' => 'Stockholm', 'zipcode' => '111 24', 'country' => 'Sweden']
],
[
'people_fields' => ['first_name' => 'Gillian', 'last_name' => 'Andersson', 'email' => 'gillianandersson@yopmail.com', 'personal_no' => '19670919-9530', 'mobile' => '+46713476895', 'address' => 'Svartmangatan', 'city' => 'Stockholm', 'zipcode' => '111 30', 'country' => 'Sweden']
]
);
$curlParams['access_token'] = '{your access token}';
$curlParams['people'] = json_encode($people);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/addpeople",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("people", '[{"people_fields": {"first_name": "John", "last_name": "Smith", "email": "johnsmith@yopmail.com", "personal_no": "19811228-9874", "mobile": "+46714879421", "address": "Sturegatan", "city": "Stockholm", "zipcode": "111 24", "country": "Sweden"}}, {"people_fields": {"first_name": "Gillian", "last_name": "Andersson", "email": "gillianandersson@yopmail.com", "personal_no": "19670919-9530", "mobile": "+46713476895", "address": "Svartmangatan", "city": "Stockholm", "zipcode": "111 30", "country": "Sweden"}}]');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/addpeople",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Updates the information of existing people. To update multiple people use multiple people_fields keys with the correct contact data stored in the people variable.
access_token(required)
User access token
people (required)
Returns People successful message
POST https://esign.simplesign.io/v3/updatepeople
$people = array(
[
'people_fields' => ['people_id' => 282, 'first_name' => 'John', 'last_name' => 'Smith', 'email' => 'johnsmith@yopmail.com', 'personal_no' => '19811228-9874', 'mobile' => '+46714879421', 'address' => 'Sturegatan', 'zipcode' => '111 24', 'city' => 'Stockholm', 'country' => 'Sweden']
],
[
'people_fields' => ['people_id' => 283, 'first_name' => 'Gillian', 'last_name' => 'Andersson', 'email' => 'gillianandersson@yopmail.com', 'personal_no' => '19670919-9530', 'mobile' => '+46713476895', 'address' => 'Svartmangatan', 'zipcode' => '111 30', 'city' => 'Stockholm', 'country' => 'Sweden']
]
);
$curlParams['access_token'] = '{your access token}';
$curlParams['people'] = json_encode($people);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/updatepeople",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('people', '[{"people_fields": {"people_id": "282", "first_name": "John", "last_name": "Smith", "email": "johnsmith@yopmail.com", "personal_no": "19811228-9874", "mobile": "+46714879421", "address": "Sturegatan", "zipcode": "111 24", "city": "Stockholm", "country": "Sweden"}}, {"people_fields": {"people_id": "283", "first_name": "Gillian", "last_name": "Andersson", "email": "gillianandersson@yopmail.com", "personal_no": "19670919-9530", "mobile": "+46713476895", "address": "Svartmangatan", "zipcode": "111 30", "city": "Stockholm", "country": "Sweden"}}]');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/updatepeople",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Gets the information for a specific people. Provide an access_token (the user that added the people) and a people_id (the specific people).
access_token (required)
User access token
people_id(required)
People id
Returns People object
GET https://esign.simplesign.io/v3/peopleinfo
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/peopleinfo?access_token={your access token}&people_id={people id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/peopleinfo?access_token={your access token}&people_id={people id}",
"method": "GET",
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Deletes a people from your contact directory by providing the specific people_id corresponding with the correct people. Provide multiple IDs to delete multiple people.
access_token (required)
User access token
people(required)
POST https://esign.simplesign.io/v3/deletepeople
$curlParams['access_token'] = '{your access token}';
$curlParams['people'] = json_encode([282, 283]);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/deletepeople",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('people', '[282, 283]');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/deletepeople",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Returns a full list of your sent documents.
access_token (required)
User access token
documentlimit (optional)
Records per page limits (default: 25)
current_page (optional)
Page number starting from 1 (default: 1)
Returns a Document object
GET https://esign.simplesign.io/v3/alldocuments
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/alldocuments?access_token={your access token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"postman-token: 00378ee7-ec2c-97c0-77ca-81f9f9b02ed4"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/alldocuments?access_token={your access token}",
"method": "GET",
"headers": {
"cache-control": "no-cache",
"postman-token": "d30f94eb-0772-5534-71ee-019f7efde03d"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Returns a full list of your signed documents only.
access_token (required)
User access token
order (required)
Reorganizes records into ascending or descending order (default: ascending order)
Returns a Document object
GET https://esign.simplesign.io/v3/signeddocuments
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/signeddocuments?access_token={your access token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"postman-token: 00378ee7-ec2c-97c0-77ca-81f9f9b02ed4"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/signeddocuments?access_token={your access token}",
"method": "GET",
"headers": {
"cache-control": "no-cache",
"postman-token": "d30f94eb-0772-5534-71ee-019f7efde03d"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
To get details about your sent documents.
access_token(required)
User access token
document_id(required)
id for a specific document
GET https://esign.simplesign.io/v3/specificdocumentdetail
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/specificdocumentdetail?access_token={your access token}&document_id={your document id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data",
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/specificdocumentdetail?access_token={your access token}&document_id={your document id}",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Return the details of sent document(s) with respect to the given status.
access_token (required)
User access token
status(required)
Status of document(delivered, reviewed, signed, rejected)
document_id (optional)
id for a specific document to get only particular document details
pagelimit(required)
Records per page limits (default: 25)
current_page(required)
Page index starting from 0 (default: 0)
Returns the info of sent documents with respect to the given status.
GET https://esign.simplesign.io/v3/getdocumentinfobystatus
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/getdocumentinfobystatus?access_token={your access token}&status=signed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"postman-token: fa2e046f-3fd0-6f68-161c-79365cca10a7"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/getdocumentinfobystatus?access_token={your access token}&status=signed",
"method": "GET",
"headers": {
"cache-control": "no-cache",
"postman-token": "4d81a307-3eea-58ec-4eae-7e7d8123f156"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Completely deletes the un-signed document from the system.
access_token (required)
User access token
document_id(required)
Document id you want to delete
POST https://esign.simplesign.io/v3/deletedocument
$curlParams['access_token'] = '{your access token}';
$curlParams['document_id'] = '1455';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/deletedocument",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: multipart/form-data"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('document_id', '1455');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/deletedocument",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(respondocumentshistory
Download a PDF of the document.
access_token (required)
User access token
document_id(required)
Signed document id
GET https://esign.simplesign.io/v3/getdocumentpdf
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/getdocumentpdf?access_token={your access token}&document_id=16669",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => "",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: application/x-www-form-urlencoded",
"postman-token: 2b183813-4b06-095a-a8d9-ce8ee54742a1"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/getdocumentpdf?access_token={your access token}&document_id=16669",
"method": "GET",
"headers": {
"content-type": "application/x-www-form-urlencoded",
"cache-control": "no-cache",
"postman-token": "0183531c-e49c-d3b4-b345-7821e53da5b3"
},
"data": {}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Sends a reminder to recipients of a particular document. * This reminder will only be sent to those parties that haven't signed this document.
access_token (required)
User access token
document_id (required)
document id
reminder_type(required)
Reminder type 1 for Email, 2 for SMS, 3 for both SMS & Email
POST https://esign.simplesign.io/v3/remindertorecipients
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/remindertorecipients",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_https_VERSION => CURL_https_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "access_token={your access token}&document_id=16392&reminder_type=3",
CURLOPT_httpsHEADER => array(
"cache-control: no-cache",
"content-type: application/x-www-form-urlencoded",
"postman-token: 68256c7a-2a1a-f23f-ea98-84d4aa4ae3db"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/remindertorecipients",
"method": "POST",
"headers": {
"content-type": "application/x-www-form-urlencoded",
"cache-control": "no-cache",
"postman-token": "dde16dee-de3b-afd8-b98d-fc4f2fcd8ecb"
},
"data": {
"access_token": "{your access token}",
"document_id": "16392",
"reminder_type": "3"
}
}
$.ajax(settings).done(function (response) {
console.log(respondocumentshistory
Simple Sign International AB
Karlavägen 20
11431 Stockholm, SWEDEN
Phone: +46(0)10 750 09 66