https://app.liveensure.com/live-identity/rest
						
					

API Required Environment

Pre-condition: service is activated (applicable only to custom installations)
Error: 412 PRE-CONDITION FAILED
						
Endpoint: /host/session
Method:   PUT
						
					

REQUEST

KeyValueRequired?
apiVersionStringYes
apiKeyStringYes
agentIdStringYes
userIdStringYes
localeStringNo
successMessageStringNo
failureMessageStringNo

RESPONSE

KeyValue
sessionTokenString

ERRORS

CodeReason
401Missing required User ID
401Missing or invalid API Version
401Missing or invalid API Key
401Missing or invalid API Password
401Missing or invalid Agent ID
403Invalid Key/Password combination
403Invalid Key/Agent ID combination

						
Endpoint: /host/challenge
Method:   PUT
						
					

REQUEST

KeyValueRequired?
sessionTokenStringYes
agentIdStringYes
challengeTypeString (one of PROMPT, LAT_LONG_V6, HOST_BEHAVIOR_V6, BIOMETRIC, WEARABLE, TIME)Yes
challengeDetailsKey/Value MapYes
PROMPT challengeDetails Map
KeyValueRequired?
questionStringYes
answerStringYes
requiredString (one of true, false)Yes
maximumAttemptsInteger (minimum of 1)Yes
fallbackChallengeIDIntegerNo
LAT_LONG_V6 challengeDetails Map
KeyValueRequired?
latitudeNumber (in degrees)Yes
longitudeNumber (in degrees)Yes
radiusNumber (in km)Yes
inoutString (one of true means in, false means out)Yes
requiredString (one of true, false)Yes
maximumAttemptsInteger (minimum of 1)Yes
fallbackChallengeIDInteger (optional)No
HOST_BEHAVIOR_V6 challengeDetails Map
KeyValueRequired?
touchesComma-separated patten string. Pattern is start and end point. (Ex. (1,9), (8,8), (7,3))Yes
requiredString (one of true, false)Yes
maximumAttemptsInteger (minimum of 1)Yes
fallbackChallengeIDInteger (optional)No
BIOMETRIC challengeDetails Map
KeyValueRequired?
touchesString (one of true, false)Yes
requiredString (one of true, false)Yes
maximumAttemptsInteger (minimum of 1)Yes
fallbackChallengeIDIntegerNo
WEARABLE challengeDetails Map
KeyValueRequired?
deviceIdComma-separated list (Ex. id1,id2,id3...)Yes
requiredString (one of true, false)Yes
maximumAttemptsInteger (minimum of 1)Yes
fallbackChallengeIDIntegerNo
TIME challengeDetails Map
KeyValueRequired?
startDateString (Ex. 2020-05-21 04:00 AM)Yes
endDateString (Ex. 2020-05-21 05:00 AM)Yes
inoutString (one of true means in, false means out)Yes
requiredString (one of true, false)Yes
maximumAttemptsInteger (minimum of 1)Yes
fallbackChallengeIDInteger (optional)No

RESPONSE

KeyValue
statusMessageString
challengeIDInteger

ERRORS

CodeReason
401Missing or invalid session token
401Invalid session state (cannot accept the addition of a new challenge)
401Missing required challenge details
401Invalid challenge details for specified challenge type

						

The following are the types of session objects you can present to your user on their device or browser to scan, tap or link internally to engage the authentication.

qurl: <leHostBase>/QR?w=<240>&sessionToken=<session token> furl: <leHostBase>/launcher?sessionToken=<session token> lirl: <leHostBase>/launcher?sessionToken=<session token>&light=<1> lurl: liveensure://?sessionToken=<session token>&status=<leHostBase>/rest
Method: GET

DESCRIPTIONS

KeyValue
qurlQR code image to scan from device
furlFull QR to scan, or tap to make OOB PIN entry box
lirlLight agent. i.e. OOB PIN entry box only
lurlLink only for on-mobile or app2app use

ERRORS

CodeReason
401Missing or invalid session token

						
Endpoint: /host/session/<session token>/<agent id>
Method:   GET
						
					

RESPONSE

KeyValue
sessionTokenString
statusMessageString
clientTypeString
sessionTypeString
knownDeviceString
countryString
oobToken String (one of pending, none, or the token value to deliver)
messageString
sessionStatus String (one of SUCCESS, FAILED, SESSION_UNDETERMINED)
sessionUUIDString
challengeStatusesKey/Value Map
challengeStatuses Map
KeyValue
challengeIDInteger
challengeTypeString
answerStateString (one of SUCCESS, FAILED, LEGACY, NA)

ERRORS

CodeReason
401Missing or invalid session token

						
Endpoint: /host/user
Method:   DELETE
						
					

REQUEST

KeyValueRequired?
apiVersionStringYes
apiKeyStringYes
agentIDStringYes
userIDStringYes

RESPONSE

KeyValue
userIDString
statusMessageString

ERRORS

CodeReason
401Missing required User ID
401Missing or invalid API Key
401Missing or invalid API Password
403Invalid Key/Password combination
409Unable to delete user