Inicia a recuperação de senha
POST/api/auth/recovery-password
- Auth
- Public
- X-CommunityId
X-CommunityIdSend the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
Dispara o email de recuperação. Responde sucesso mesmo quando o email não existe, de propósito — não revela quais emails estão cadastrados.
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Request body application/json
| Name | Type | Description |
|---|---|---|
emailrequired | string (email) |
Responses
| Status | Description |
|---|---|
200 | Solicitação registrada (resposta idêntica para email existente ou não). |
400 | Requisição inválida — falha de validação. |
curl example
curl -X POST "https://api.memberfy.net/api/auth/recovery-password" \
-H "X-CommunityId: $COMMUNITY_ID" \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]"}'