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
object
*
client_id
string
*
client_id
Required
string
Client ID for verification.
client_secret
string
*
client_secret
Required
string
Client Secret for verification.
token
string
*
token
Required
string
Token received from otplessUser object.
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
Status of the response.
Indicates if the user is browsing in incognito mode.
Indicates if the device is an emulator.
Indicates if a VPN is active.
The original timezone of the VPN.
The country of the VPN origin.
User's IP address.
User's timezone.
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"
}'