Request Password Recovery
Initiate the password recovery process by sending a recovery code to the customer’s email.Request Body
Customer’s registered email address. A recovery code will be sent to this email.
Response
A recovery code will be sent to the customer’s email. This code is required to reset the password in the next step.
Reset Password
Reset the customer’s password using the recovery code received via email.Request Body
Customer’s registered email address
Recovery code sent to the customer’s email
New password for the customer account
Response
Password Recovery Flow
Request Recovery
Call
/auth/clienteRecuperar with the customer’s email address. A recovery code will be sent to their email.Reset Password
Call
/auth/clienteCambiarContrasena with the email, recovery code, and new password to complete the password reset.Error Handling
The password recovery endpoints may return various error messages:Invalid or Expired Code
Invalid or Expired Code
The recovery code is incorrect or has expired. The customer should request a new recovery code by calling
/auth/clienteRecuperar again.Email Not Found
Email Not Found
The provided email address is not registered in the system. Verify the email address or register a new account.
Connection Error
Connection Error
A network or server error occurred. Retry the request or contact support if the issue persists.
Security Best Practices
Strong Passwords
Encourage customers to use strong passwords with a mix of uppercase, lowercase, numbers, and special characters.
Code Expiration
Recovery codes have a limited validity period to prevent unauthorized access.
Email Verification
Codes are sent only to the registered email address, ensuring account ownership.
Rate Limiting
Multiple failed attempts may trigger rate limiting to prevent brute force attacks.