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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:".$err;
} else {
echo $response;
}
$(document).ready(function() {
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 success 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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
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 success message.
POST https://esign.simplesign.io/v3/updateaccount
$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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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 success 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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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 the information about your Simple Sign account usage.
access_token (required)
The access token of your account
Returns an Accountdata usage object.
GET https://esign.simplesign.io/v3/accountdata
$curl=curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://esign.simplesign.io/v3/accountdata?access_token={Your access token}',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'cache-control: no-cache'
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo'cURL Error #: '.$err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "http://esign.simplesign.io/v3/accountdata?access_token={WvJ2gfoPU3cmzsthnEFe70lKobdBtt3SId3owcU1}",
"method": "GET",
}
$.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
template_id (optional)
id for a specific template to get only particular template detail
page_limit (optional)
Records per page limits (default: 10)
current_page (optional)
Page index starting from 0 (default: 0)
Returns a Template object
GET https://esign.simplesign.io/v3/gettemplates
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/gettemplates?access_token={your access token}&page_limit={no of records}¤t_page={page number}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/gettemplates?access_token={your access token}&page_limit={no of records}¤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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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);
}
$(document).ready(function() {
$('#fileUpload').click(function() {
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 success 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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('templates', '[41, 42]');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/deletetemplates",
"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
page_limit (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}&page_limit={no of records}¤t_page={page number}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/users?access_token={your access token}&page_limit={no of records}¤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)
user_fields (optional)
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'
]
]
]
);
$userFields = [
[
'fields' => [
[
'title' => 'Company name',
'type' => 'text',
'value' => 'Test compnay'
],
[
'title' => 'Select expiry date',
'type' => 'datepicker',
'value' => '02/25/2020'
],
[
'title' => 'Gender',
'type' => 'droplist',
'options' => ['Male', 'Female'],
'value' => 'Make Two'
]
]
]
];
$curlParams['access_token'] = '{your access token}';
$curlParams['users'] = json_encode($users);
$curlParams['user_fields'] = json_encode($userFields);
$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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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"}]}]');
form.append('user_fields', '[{"fields": [{"title": "One", "type": "text", "value": "One Value"}, {"title": "Two", "type": "datepicker", "value": "02/25/2020"}, {"title": "Three Multiples Choicess", "type": "droplist", "options": ["Make One", "Make Two", "Make Three"], "value": "Make Two"}]}]');
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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/userinfo
$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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/userinfo?access_token={your access token}&account_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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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 or files[] (required)
Use file or files[] which indicates the uploaded document file(s) to be sent for signature
recipients (required)
attachment (optional)
Attach an extra file with your document (can be .pdf, .docx, .xls, .png, .jpeg, .jpg)
You can attach multiple files by repeating the same parameters, such as attachment2 (optional), attachment2_name, attachment2_mandatory (optional) and so on.
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)
show_attachment (optional)
The attachment will be either preopened (1) or closed (0) for the recipient. 1 is for preopened and 0 is for closed.
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)
folder_name (optional)
When including this parameter in conjunction with the specified endpoint, the signed copy of the document will be stored in the folder with the name added to your Simple Sign account
language_id (optional)
Language (en, sv, de, fi, fr, no, da, es, pl, sk)
Note: English en, Swedish sv, German de, Finnish fi, French fr, Norwegian no, Danish da, Spanish es, Polish pl, Slovakia sk.
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)
iframe_url (optional)
Generates GUI URL for sending the document selected document. (1 for return link and 0 for sending document via email)
iframe_settings (optional)
Pass a json object in iframe_settings like showing below where 1 is to activate and 0 is to deactivate the specific setting.
document_chat (optional)
Enable the chat on document for your recipient. (1 for enable the chat and 0 for disable chat)
transfer_signature_role (optional)
Enable the transfer signature role for your recipient. (1 for enable the transfer signature and 0 for disable transfer signature)
Add signature box to PDF (optional)
Minimum font size must be 16px, font style must be Arial
redirect_url (optional)
Your recipient will be redirected to the given URL after sign.
document_type (optional)
Categorize your templates and documents into Contract types. This will make your account more organized and you will have an easier way to find your documents and templates when needed.
document_key (optional)
Returns a success 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/senddocument",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
$('#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 template_id parameter.
access_token (required)
User access token
template_id (required)
Use template_id to create a signature request
recipients (required)
documentfields (optional)
create_tables (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)
folder_name (optional)
When including this parameter in conjunction with the specified endpoint, the signed copy of the document will be stored in the folder with the name added to your Simple Sign account
language_id (optional)
Language (en, sv, de, fi, fr, no, da, es, pl, sk)
Note: English en, Swedish sv, German de, Finnish fi, French fr, Norwegian no, Danish da, Spanish es, Polish pl, Slovakia sk.
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)
iframe_url (optional)
Generates GUI URL for sending the document selected document. (1 for return link and 0 for sending document via email)
document_chat (optional)
Enable the chat on document for your recipient. (1 for enable the chat and 0 for disable chat)
transfer_signature_role (optional)
Enable the transfer signature role for your recipient. (1 for enable the transfer signature and 0 for disable transfer signature)
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)
redirect_url (optional)
attachment_#attachment-name# (optional)
show_attachment (optional)
The attachment will be either preopened (1) or closed (0) for the recipient. 1 is for preopened and 0 is for closed.
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['template_id'] = '{template_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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("template_id", "{template_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);
});
});
Generates GUI URL for sending the specific document or already built template from your account.
access_token (required)
User access token
file (required)
Use file which indicates the uploaded document file(s) to be sent for signature in iframe
template_id (optional)
To populate pre built templates from your account in to iframe.
Returns a success message
POST https://esign.simplesign.io/v3/generateiframe
$curlParams['access_token'] = 'WvJ2kroPU3cmzsINnEFe70lKobdBtt3SId3owcU1';
$curlParams['file'] = new CURLFile(realpath('singlepage.pdf'));
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://esign.simplesign.io/v3/generateiframe',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
$('#fileUpload').click(function() {
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/generateiframe",
"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>
You can revoke your sent documents
access_token (required)
User access token
document_id (required)
ID for a specific document
Returns a success message
POST https://esign.simplesign.io/v3/revokedocument
$curlParams['access_token'] = 'WvJ2kroPU3cmzsINnEFe70lKobdBtt3SId3owcU1';
$curlParams['document_id'] = 5436;
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://esign.simplesign.io/v3/revokedocument',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("document_id", 5436);
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/revokedocument",
"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
page_limit (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}&page_limit={no of records}¤t_page={page number}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/people?access_token={your access token}&page_limit={no of records}¤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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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 a success 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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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
document_limit (optional)
Records per page limits (default: 25)
current_page (optional)
Page number starting from 1 (default: 1)
user_id (optional)
ID of your User / Team mate to get related documents with specific account.
from_date (optional)
Specify the date to get document from date (default: YYYY-MM-DD).
Fetch documents from a specific sent date.
Note: Hours must be in 24 hours format
to_date (optional)
Specify the date to get document to date (default: YYYY-MM-DD)
Documents will be fetched till date.
Note: Hours must be in 24 hours format
task_filter (optional)
completed_fromdate (optional)
completed_todate (optional)
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/alldocuments?access_token={your access token}",
"method": "GET"
}
$.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).
Pass asc for ascending and desc for descending
user_id (optional)
ID of your User / Team mate to get related documents with specific account.
from_date (optional)
Specify the date to get document from date (default: YYYY-MM-DD-HH-MM-SS)
Fetch documents from a specific signed date
Note: Hours must be in 24 hours format
to_date (optional)
Specify the date to get document to date (default: YYYY-MM-DD-HH-MM-SS)
Documents will be fetched till date.
Note: Hours must be in 24 hours format
document_type (optional)
Specify the document type to retrieve all documents related to the specified document type.
task_filter (optional)
completed_fromdate (optional)
completed_todate (optional)
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/signeddocuments?access_token={your access token}",
"method": "GET"
}
$.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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
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
page_limit (required)
Records per page limits (default: 10)
current_page (required)
Page index starting from 0 (default: 0)
user_id (optional)
ID of your User / Team mate to get related documents with specific account.
from_date (optional)
Specify the date to get document from date (default: YYYY-MM-DD)
Note: Hours must be in 24 hours format
to_date (optional)
Specify the date to get document to date (default: YYYY-MM-DD)
Note: Hours must be in 24 hours format
task_filter (optional)
completed_fromdate (optional)
completed_todate (optional)
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/getdocumentinfobystatus?access_token={your access token}&status=signed",
"method": "GET"
}
$.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
email (required)
Email address of account owner
confirm_text (required)
Enter delete in confirm_text
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
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(response);
});
});
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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => "",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/getdocumentpdf?access_token={your access token}&document_id=16669",
"method": "GET"
}
$.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
$curlParams['access_token'] = '{your access token}';
$curlParams['document_id'] = 136427;
$curlParams['reminder_type'] = 3;
$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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("document_id", 136427);
form.append("reminder_type", 3);
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/remindertorecipients",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
Revoke your sent document.
access_token (required)
User access token
document_id (required)
document id
POST https://esign.simplesign.io/v3/revokedocument
$curlParams['access_token'] = '{your access token}';
$curlParams['document_id'] = 526257;
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/revokedocument",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("document_id", 526257);
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/revokedocument",
"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 created contracts.
access_token (required)
User access token
page_limit (optional)
Records per page limits (default: 10)
current_page (optional)
Page number starting from 1 (default: 1)
category (optional)
Category name
type_name (optional)
Document type name
Returns a Contract object
GET https://esign.simplesign.io/v3/allcontracts
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/allcontracts?access_token={your access token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/allcontracts?access_token={your access token}",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
Create a contract in contract control
access_token (required)
User access token
contract_control_name (required)
Contract name
category (optional)
Category name
document_type (optional)
Document type name
Returns a Contract object
GET https://esign.simplesign.io/v3/createcontractcontrol
$curlParams['access_token'] = '{your access token}';
$curlParams['contract_control_name'] = 'Demo';
$curlParams['document_type'] = 'HR';
$curlParams['category'] = 'Bill';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/createcontractcontrol",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST,
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('contract_control_name', 'Demo');
form.append('document_type', 'HR');
form.append('category', 'Bill');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/createcontractcontrol",
"method ": "POST ",
"processData ": false,
"contentType ": false,
"mimeType ": "multipart/form-data ",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
To get details about your created contract.
access_token (required)
User access token
contract_id (required)
id for a specific contract
GET https://esign.simplesign.io/v3/specificcontract
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/specificcontract?access_token={your access token}&contract_id={your contract id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache"
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$(document).ready(function() {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/specificcontract?access_token={your access token}&contract_id={your contract id}",
"method": "GET"
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
Update the specific contract.
access_token (required)
User access token
contract_id (required)
id for a specific contract to update only particular contract details
contract_no (optional)
Contract number of the contract
type_id (optional)
Document type id
category_id (optional)
Category id
organization_id (optional)
Organization id
status (optional)
Status of the contract 1/0
related_documents (optional)
Link the send document in contract control
custom_box (optional)
cost (optional)
revenue (optional)
period_renewal (optional)
task (optional)
contract_contacts (optional)
contract_managers (optional)
Returns the info of update contract with respect to the given status.
POST https://esign.simplesign.io/v3/updatecontractcontrol
$curlParams['access_token'] = '{your access token}';
$curlParams['contract_id'] = '1';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/updatecontractcontrol",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => " ",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST ",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache "
)
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #: " . $err;
} else {
echo $response;
}
$(document).ready(function() {
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('contract_id', '1');
var settings = {
"async ": true,
"crossDomain ": true,
"url ": "https://esign.simplesign.io/v3/updatecontractcontrol ",
"method ": "POST ",
"processData ": false,
"contentType ": false,
"mimeType ": "multipart/form-data ",
"data ": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
Completely deletes the contract from the system.
access_token (required)
User access token
contract_id (required)
Contract id you want to delete
POST https://esign.simplesign.io/v3/deletecontract
$curlParams['access_token'] = '{your access token}';
$curlParams['contract_id'] = '1';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/deletecontract ",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => " ",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST ",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
var form = new FormData();
form.append('access_token', '{your access token}');
form.append('contract_id', '1');
var settings = {
"async ": true,
"crossDomain ": true,
"url ": "https://esign.simplesign.io/v3/deletecontract ",
"method ": "POST ",
"processData ": false,
"contentType ": false,
"mimeType ": "multipart/form-data ",
"data ": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
Configure endpoint URL and add trigger event to get notification on your endpoint URL when document is sent, signed or rejected.
access_token (required)
User access token
webhook_url (required)
Your endpoint URL where you will get response data, when document is sent ,signed or rejected.
webhook_trigger (required)
Returns a success message
POST https://esign.simplesign.io/v3/cofigurewebhook
$web_hook_call = [
'when_document_sent' => 'on',
'when_document_signed' => 'on',
'when_document_rejected' => 'off',
'when_document_viewed' => 'off'
];
$webhook_url = 'https://www.test.com';
$curlParams['access_token'] = '{your access token}';
$curlParams['webhook_url'] = $webhook_url;
$curlParams['webhook_trigger'] = json_encode($web_hook_call);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://esign.simplesign.io/v3/cofigurewebhook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $curlParams,
CURLOPT_HTTPHEADER => 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;
}
$(document).ready(function() {
var form = new FormData();
form.append("access_token", "{your access token}");
form.append("webhook_url", 'https://www.test.com');
form.append("webhook_trigger", '{"when_document_sent":"on","when_document_signed":"off","when_document_rejected":"on", "when_document_viewed":"off" }');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://esign.simplesign.io/v3/cofigurewebhook",
"method": "POST",
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
});
Microsignature is the process to get quick confirmation from your recipient using BankID verification. Your added message will be visible to recipient's BankID application.
access_token (required)
User access token
message (required)
Message to be visible for recipient in BankID application.
email (optional)
Recipient's email to get confirmation on the complitation of process.
authentication (optional)
Recipient authentication can be completed using either Swedish BankID or Norwegian BankID as the chosen method. Use BankID/NorwegianBankID as parameter.
mobile_no (required with Norwegian BankID)
The recipient's mobile number is essential for receiving SMS messages to initiate the Norwegian BankID process. Providing the mobile number is mandatory when selecting Norwegian BankID as the authentication method.
personal_no (required with Swedish BankID)
Recipient's personalnumber to initiate the Bankid process.
Returns a success message
POST https://esign.simplesign.io/v3/sendmicrosignature
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://esign.simplesign.io/v3/sendmicrosignature',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('access_token' => '{access_token}','message' => 'Test Message','email' =>
'test@yopmail.com','personal_no' => '{personal_no}'),
));
$response = curl_exec($curl);
curl_close($curl);
var form = new FormData();
form.append("access_token", "{access_token}");
form.append("message", "Test Message");
form.append("email", "test@yopmail.com");
form.append("personal_no", "{personal_no}");
var settings = {
"url": "https://esign.simplesign.io/v3/sendmicrosignature",
"method": "POST",
"timeout": 0,
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});
ID Check is the process to check idetification of person using personalnumber with BankID.
access_token (required)
User access token
personal_no (required)
Recipient's personalnumber to initiate the Bankid process.
Returns a success message
POST https://esign.simplesign.io/v3/idverfication
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://acceptance.simplesign.io/v3/idverfication',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('access_token' => '{access_token}','personal_no' => '{personal_no}'),
));
$response = curl_exec($curl);
curl_close($curl);
var form = new FormData();
form.append("access_token", "{access_token}");
form.append("personal_no", "{personal_no}");
var settings = {
"url": "https://esign.simplesign.io/v3/idverfication",
"method": "POST",
"timeout": 0,
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});
Simple Sign International AB
Karlavägen 20
11431 Stockholm, SWEDEN
Phone: +46(0)10 750 09 66