Skip to main content

Set Fingerprint

This API allows a user to set up fingerprint authentication for login. The temporary token returned by Verify OTP must be passed as the otp field in this request.

🛣️Path Parameter

ParameterTypeRequiredDescription
tenantIDstringYesUnique ID of the tenant

🔑Header Parameters

HeaderTypeDescriptionExample
Content-typestringSpecifies request formatapplication/json
x-api-keystringAPI Key provided by the synapsewavex-api-key

📦 Request Body Schema

FieldTypeRequiredDescriptionExample
user_idstringYesUnique Client Code (UCC) assigned to the user."UCC123456"
group_IdstringYesThe group to which the user belongs"Group001"
typestringYesAction type flag to set fingerprint"SET_FINGERPRINT"
udidstringYesUnique DeviceIdentifier (UDID) of the user's mobile."A1BC3D4E576"
otpstringYesTemporary token returned by the Verify OTP API"{{forgot_password_token}}"
api_keystringYesAPI key provided by synapsewave"apikey_123456"
sourcestringYesSource of the request. Use "WEBAPI" for browser or "MOBILEAPI" for mobile"MOBILEAPI"

🟢Success Response - 200 Ok

FieldTypeDescriptionExample
statusbooleantrue if the API call was successful."true"
resultarray of objectsContains additional response details if presentRefer below

📦 Result Object Fields

FieldTypeDescriptionExample
ValidstringValidity status; null if not applicablenull
sMPINstringEncrypted MPIN string stored against the device"GXAvzXx++xw="
nMPINInvalidAttemptintegerCount of invalid MPIN/fingerprint attempts made0
ExpiryDaysRemintegerNumber of days remaining before the MPIN/fingerprint setup expires17
nMPINSkippedintegerCount of times the MPIN setup was skipped by the user0
sUDIDstringDevice UDID against which the fingerprint is registered"5c340bd7-5bd3-4aaf-9d03-b26626b16858"