Skip to content

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

NameTypeDescription
emailrequiredstring (email)
passwordrequiredstring (password)

Responses

StatusDescription
200Login realizado com sucesso.
400Requisição inválida — falha de validação.
401Token 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"}'