Submit Reset Password Code on other page

Hi ,
I am working on my app in which , after I submit the request for Forgot password , user will receive the email with an URL1 = ( and Reset Password Code.

I am planning to use my own reset password page with URL2 =, where the user will submit this Reset Password Code , New Password and Confirm Password and my app will submit this code to URL1 automatically.
Can anyone help me with this ? Do we have a curl command to follow the above mentioned steps ??

the first step will be to post the email to this API endpoint:


curl -X “POST” “https:/”
-H ‘Content-Type: application/json; charset=utf-8’
-d $’{
“email”: ""

In case the server answers with a statusCode 200 you will receive an email with a ‘Reset Password Code’. Make sure you have set up the email template in your Dreamfactory instance under Config->Email Templates.

In the second step you have to provide a webpage which receives the parameters (and extract them from the url) from the email (password code, email). This webpage should contain a form which pre-fills the reset code and email address along with an empty password field.

Then you submit the content of the form again to “https:/”.



curl -X “POST” “
-H ‘Content-Type: application/json; charset=utf-8’
-d $’{
“email”: "",
“new_password”: “MyNewPassword”

Hope this helps to get your app running!

1 Like