Skip to main content
POST
/
:projectId
/
api
/
v7
/
auth
/
request-password-reset
Request Password Reset
curl --request POST \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/auth/request-password-reset \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}
Sends a password reset email to the specified address if an account with that email exists and has a password set. The reset link in the email expires after 1 hour. The response is always a generic success message regardless of whether the email is registered. This prevents user enumeration.

Body Parameters

email
string
required
The email address to send the reset link to.

Response

success
boolean
Always true when the request is processed without a server error.
message
string
Generic confirmation message: "If an account with that email exists, a password reset link has been sent."
The password reset token is stored as a SHA-256 hash in the database. Only one reset token is active per user at a time — requesting a new one overwrites the previous token.

See Also