POST
/
client
/
user
/
auth
/
validation-token
curl --request POST \
  --url https://simpleapi.com.br/api/v1/client/user/auth/validation-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NDY2NTM2NTUsInVzZXJfaWQiOiI2ODE5NGNiOWRlMGVmZGQzMTk1OGE3ODEifQ.n-S2PChM2pFXNfOwq0lfjfNMFIkCfvaPoTUby_MhS84"
}'
{
  "isValid": true,
  "success_code": 200,
  "user": {
    "id": "68194cb9de0efdd31958a456908",
    "email": "maria@email.com",
    "name": "Maria Oliveira",
    "roles": [
      "viewer",
      "adm"
    ],
    "metadata": {
      "field": "abcde",
      "field1": "abcde",
      "field2": "abcde"
    },
    "is_active": true,
    "created_at": "2025-05-05T23:41:45.619Z",
    "updated_at": "2025-05-05T23:41:45.619Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Dados de autenticação

The body is of type object.

Response

200
application/json

Token JWT é válido.

The response is of type object.