curl --request POST \
--url https://api.example.com/api/auth/forgot-password \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>"
}
'{
"message": "<string>",
"error": "<string>"
}Request a password reset email
curl --request POST \
--url https://api.example.com/api/auth/forgot-password \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>"
}
'{
"message": "<string>",
"error": "<string>"
}Initiates the password reset process by sending a reset token to the user’s registered email address. The user can then use this token to set a new password.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pakomercado0517/tresa-contafy-web/llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://api.contafy.com/api/auth/forgot-password \
-H "Content-Type: application/json" \
-d '{
"email": "usuario@ejemplo.com"
}'
{
"message": "Si el email existe en nuestro sistema, recibirás instrucciones para restablecer tu contraseña"
}
{
"error": "VALIDATION_ERROR",
"message": "Email es requerido"
}
{
"error": "VALIDATION_ERROR",
"message": "El formato del email es inválido"
}
{
"error": "RATE_LIMIT_EXCEEDED",
"message": "Demasiadas solicitudes. Por favor intenta más tarde"
}