Skip to main content
POST
/
api
/
v3
/
user
/
resetpassword
Forgot password - Request reset link
curl --request POST \
  --url https://app.thareja.ai/api/v3/user/resetpassword \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com"
}
'
{
  "success": true,
  "msg": "Reset password link is sent successfully!"
}

Overview

Request a password reset link to be sent via email. This endpoint generates a password reset token and sends it to the user’s registered email address. The user can then use this token to reset their password.

Request Body

email
string
required
The email address of the user who forgot their password.Format: Valid email addressExample: "user@example.com"

Response

success
boolean
Whether the request was successful.
msg
string
Success message confirming the reset link was sent.

Example Request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required

The email address of the user who forgot their password

Example:

"user@example.com"

Response

Reset link sent successfully

success
boolean
Example:

true

msg
string
Example:

"Reset password link is sent successfully!"