POST
/
auth
/
v1
/
validate
/
token
curl --location 'https://user-auth.otpless.app/auth/v1/validate/token' \
  --header 'Content-Type: application/json' \
  --header 'clientId: YOUR_CLIENT_ID' \
  --header 'clientSecret: YOUR_CLIENT_SECRET' \
  --data '{
      "token": "RECEIVED_TOKEN_FROM_OTPLESS"
  }'

Authorizations

clientId
string
header
required

The clientId used for API authentication.

clientSecret
string
header
required

The clientSecret used for API authentication.

Body

application/json
token
string
required

Token received from otplessUser object.

Response

200 - application/json
deviceInfo
object
identities
object[]
network
object
secureInfo
object
status
string
timestamp
string
token
string
userId
string