Skip to content

Forgot Password

Starts the password reset flow by sending a verification code (OTP) to the user’s registered email address.

POST/user/v1/forgotpwd
Terminal window
curl -X POST https://api.juspredict.com/user/v1/forgotpwd \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com"
}'
FieldRequirement
emailMust be a valid email address format.
{
"status": {
"type": "SUCCESS",
"details": []
},
"access_token": "TEMPORARY_ACCESS_TOKEN",
"refresh_token": "TEMPORARY_REFRESH_TOKEN",
"token_expiry": "2026-04-18T12:15:00Z"
}
FieldTypeDescription
statusStatusOperation status.