Autentica um membro e retorna o JWT
POST/api/auth/login
- Auth
- Public
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
Endpoint público. O token retornado vale 7 dias.
Request body application/json
| Name | Type | Description |
|---|---|---|
emailrequired | string (email) | |
passwordrequired | string (password) |
Responses
| Status | Description |
|---|---|
200 | Login realizado com sucesso. |
400 | Requisição inválida — falha de validação. |
401 | Token ausente, inválido ou expirado. |
curl example
curl -X POST "https://api.memberfy.net/api/auth/login" \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]","password":"Senha@123"}'