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
headerrequired

The clientId used for API authentication.

clientSecret
string
headerrequired

The clientSecret used for API authentication.

Body

application/json
token
string
required

Token received from otplessUser object.

Response

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