Get SecureInfo Of User
API Documentation
Sign In APIs
- Sign In with OTP
- Sign In with Magic Link
- Sign In with OTP Link
- Sign In with OAuth
- Sign In with Phone Call Approval
Messaging
- WhatsApp
Session Management APIs
Verify Frontend SDK token
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"
}'
Body
application/x-www-form-urlencoded
Client ID for verification.
Client Secret for verification.
Token received from otplessUser object.
Response
200 - application/json
User's IP address.
User's timezone.
Indicates if the device is an emulator.
Indicates if the user is browsing in incognito mode.
The country of the VPN origin.
The original timezone of the VPN.
Indicates if a VPN is active.
Status of the response.
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"
}'