POST
/
auth
/
validate
curl --request POST \
  --url https://api.mudstack.com/auth/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tempToken": "<string>"
}'
{
  "user": true,
  "token": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
tempToken
string

An existing temporary access token (optional)

Response

200 - application/json
Validation result
user
boolean

Whether the user is valid

token
boolean

Whether the token is valid