POST to http(s)://your_securenvoy_server/secserver/securectrl.exe
FLAG:DESKTOP
VERSION:1.0
STATUS:AUTH
USERID:Userid of user authenticating
PASSCODE:6 digit Passcode to check
Return "OK" and result of validation or "ERROR" and an error message.
Download
//Example of creating a user
var authkey = 'a1a1a1a1a1a1a1a1a1a1'
var data = {“Firstname”:”John”,”Lastname”:”Smith”,”Mobile”:”1234”}
$.ajax({
url: 'yourserver/secrest/api/users',
type: 'POST',
beforeSend: function (xhr) {
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("Authorization", 'APIKEY ' + btoa(authkey));
}
data:data,
success: function (result) {
console.log(result)
},
error: function (result) {
console.log(result)
}
});
//Returns a JSON object containing user properties.
Download
The authentication API guide contains details of how the SecurEnvoy .authentication name space provides two-factor authentication of users and includes:
The administration guide includes authentication methods and properties, plus details of how to:

info@SecurEnvoy.com | +44 (0) 845 2600010