Get SecureInfo Of User
Fetches the SecureInfo of the user by exchanging the token received from OTPLESS after user successfully authenticates.
POST
/
auth
/
v1
/
secure-info
curl --location 'https://user-auth.otpless.app/auth/v1/secure-info' \
--header 'Content-Type: application/json' \
--header 'clientId: YOUR_CLIENT_ID' \
--header 'clientSecret: YOUR_CLIENT_SECRET' \
--data '{
"token": "RECEIVED_TOKEN_FROM_OTPLESS"
}'
{
"status": "SUCCESS",
"secure_info": {
"incognito": false,
"confidence": {
"score": 0,
"revision": "v1.1"
},
"bot": {
"result": "notDetected"
},
"rootApps": {
"result": false
},
"emulator": {
"result": false
},
"vpn": {
"result": true,
"originTimezone": "",
"originCountry": "unknown",
"methods": {
"timezoneMismatch": false,
"publicVPN": true,
"auxiliaryMobile": false,
"osMismatch": false
}
},
"tampering": {
"result": false,
"anomalyScore": 0
},
"clonedApp": {
"result": false
},
"factoryReset": {
"time": "2024-11-10T10:01:48Z",
"timestamp": 1731232908
},
"jailbroken": {
"result": false
},
"frida": {
"result": false
},
"privacySettings": {
"result": false
},
"virtualMachine": {
"result": false
},
"locationSpoofing": {
"result": false
},
"suspectScore": {
"result": 5
},
"developerTools": {
"result": false
}
},
"network_info": {
"ip": "103.246.62.146",
"timezone": "Asia/Kolkata",
"ipLocation": {
"accuracyRadius": 1000,
"city": {},
"subdivisions": {},
"country": {
"code": "IN",
"name": "India"
},
"continent": {
"code": "AS"
},
"latitude": 21.9974,
"longitude": 79.0011,
"asn": {
"asn": "139570",
"name": "Spectrum Internet Services",
"network": "103.246.62.0/23"
}
}
},
"device_info": {
"userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556E Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.107 Mobile Safari/537.36 otplesssdk",
"platform": "Linux aarch64",
"vendor": "Google Inc.",
"browser": "Chrome",
"connection": "4g",
"language": "en-IN",
"cookieEnabled": true,
"screenWidth": 412,
"screenHeight": 892,
"screenColorDepth": 24,
"devicePixelRatio": 2.625,
"timezoneOffset": -330,
"cpuArchitecture": "8-core",
"fontFamily": "sans-serif",
"deviceId": "lm7zn1nz9jyyh0ab",
"browserInfo": {
"browserName": "Other",
"browserMajorVersion": "",
"browserFullVersion": "",
"os": "Android",
"osVersion": "14",
"device": "Samsung SM-A556E",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 14; SM-A556E Build/UP1A.231005.007)"
}
}
}
Body
application/x-www-form-urlencoded
Payload containing the token received from otpless authentication and client credentials for verification.
The body is of type object
.
Response
200
application/json
The user's information was successfully retrieved.
The response is of type object
.
Was this page helpful?
curl --location 'https://user-auth.otpless.app/auth/v1/secure-info' \
--header 'Content-Type: application/json' \
--header 'clientId: YOUR_CLIENT_ID' \
--header 'clientSecret: YOUR_CLIENT_SECRET' \
--data '{
"token": "RECEIVED_TOKEN_FROM_OTPLESS"
}'
{
"status": "SUCCESS",
"secure_info": {
"incognito": false,
"confidence": {
"score": 0,
"revision": "v1.1"
},
"bot": {
"result": "notDetected"
},
"rootApps": {
"result": false
},
"emulator": {
"result": false
},
"vpn": {
"result": true,
"originTimezone": "",
"originCountry": "unknown",
"methods": {
"timezoneMismatch": false,
"publicVPN": true,
"auxiliaryMobile": false,
"osMismatch": false
}
},
"tampering": {
"result": false,
"anomalyScore": 0
},
"clonedApp": {
"result": false
},
"factoryReset": {
"time": "2024-11-10T10:01:48Z",
"timestamp": 1731232908
},
"jailbroken": {
"result": false
},
"frida": {
"result": false
},
"privacySettings": {
"result": false
},
"virtualMachine": {
"result": false
},
"locationSpoofing": {
"result": false
},
"suspectScore": {
"result": 5
},
"developerTools": {
"result": false
}
},
"network_info": {
"ip": "103.246.62.146",
"timezone": "Asia/Kolkata",
"ipLocation": {
"accuracyRadius": 1000,
"city": {},
"subdivisions": {},
"country": {
"code": "IN",
"name": "India"
},
"continent": {
"code": "AS"
},
"latitude": 21.9974,
"longitude": 79.0011,
"asn": {
"asn": "139570",
"name": "Spectrum Internet Services",
"network": "103.246.62.0/23"
}
}
},
"device_info": {
"userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556E Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.107 Mobile Safari/537.36 otplesssdk",
"platform": "Linux aarch64",
"vendor": "Google Inc.",
"browser": "Chrome",
"connection": "4g",
"language": "en-IN",
"cookieEnabled": true,
"screenWidth": 412,
"screenHeight": 892,
"screenColorDepth": 24,
"devicePixelRatio": 2.625,
"timezoneOffset": -330,
"cpuArchitecture": "8-core",
"fontFamily": "sans-serif",
"deviceId": "lm7zn1nz9jyyh0ab",
"browserInfo": {
"browserName": "Other",
"browserMajorVersion": "",
"browserFullVersion": "",
"os": "Android",
"osVersion": "14",
"device": "Samsung SM-A556E",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 14; SM-A556E Build/UP1A.231005.007)"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.