Skip to main content
POST
/
api
/
v1
/
auth
/
forgot-password
Request a password reset token
curl --request POST \
  --url http://localhost:7701/api/v1/auth/forgot-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "client_a1b2c3d4e5f6g7h8",
  "email": "john@example.com"
}
'
{
  "message": "Password reset token generated. Deliver it to the user via email.",
  "reset_token": "a1b2c3d4e5f6...",
  "expires_in": "1 hour"
}

Body

application/json
client_id
string
required
Example:

"client_a1b2c3d4e5f6g7h8"

email
string<email>
required
Example:

"john@example.com"

Response

Reset token generated (or silent success if email not found)

message
string
Example:

"Password reset token generated. Deliver it to the user via email."

reset_token
string | null
Example:

"a1b2c3d4e5f6..."

expires_in
string | null
Example:

"1 hour"