POST
/
client
/
user
/
auth
/
login
curl --request POST \
  --url https://simpleapi.com.br/api/v1/client/user/auth/login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "maria@email.com",
  "password": "abcd1234"
}'
{
  "data": {
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NDY2NTM2NTUsInVzZXJfaWQiOiI2ODE5NGNiOWRlMGVmZGQzMTk1OGE3ODEifQ"
  },
  "success_code": 123
}

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 gerado com sucesso. Expira em 2 horas.

The response is of type object.