Skip to Content
🎉 New release with new features and improvements! V0.0.2 Release →

Reset Password

The Reset Password endpoint allows you to reset your password using a verification code.

POST /api/auth/reset-password

Request Body

{ "email": "user@example.com", "code": "123456", "newPassword": "newpassword123" }
PropertyTypeRequiredDescription
emailstringyesThe email address of the user.
codestringyesThe verification code sent to the email address.
newPasswordstringyesThe new password for the user.

Response

{ "data": [], "timestamp": 1234567890, "code": 200, "status": "OK", "meta": {} }

If the endpoint success, it will reset the password for the user. then send him an email to confirm the password reset.