Skip to main content
POST
/
auth
/
verify
Verify Token
curl --request POST \
  --url https://api.example.com/auth/verify \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>"
}
'
{
  "valid": true,
  "user": {},
  "expires": "<string>"
}

Body

application/json

Request model for token verification.

token
string
required

Token to verify

Response

Successful Response

Response model for token verification.

valid
boolean
required

Whether token is valid

user
User · object

User info if token is valid

expires
string | null

Token expiry time