Skip to main content
POST
/
password-recovery
/
reset
curl -X POST https://api-verifier-2.onrender.com/password-recovery/reset \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "token": "abc123def456...",
    "newPassword": "newsecurepassword123"
  }'
{
  "success": true,
  "message": "Password updated. You can now log in with your new password."
}

Request body

email
string
required
User’s email address
token
string
required
Password reset token from email link
newPassword
string
required
New password (minimum 8 characters)

Response

success
boolean
Indicates if the password was reset successfully
message
string
Success or error message
curl -X POST https://api-verifier-2.onrender.com/password-recovery/reset \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "token": "abc123def456...",
    "newPassword": "newsecurepassword123"
  }'
{
  "success": true,
  "message": "Password updated. You can now log in with your new password."
}