How can we reset the password through api?

i want to add a password reset button in my app which use knack as a backend. Can i use knack api feature to reset the password?

If your app is a Knack app then you should be able to add a link to a form so the user can change their password or they can already access it through Account Settings, next to their logged in name.

Otherwise you could right click and copy the link to the “forgot” password link on the login page and then create a html button (add a rich text field to your view and copy the below code into the html editor) pointing the user to the reset page.

<a href=""><button style="background-color: red; color: white; border: none; padding: 10px 20px; font-size: 16px; cursor: pointer;">Reset Password</button></a>

Hi @CarlHolmes,

Thank you so much for the response.

What i want is to serve as a api to my mobile app. In which user can reset password directly through app
without visiting the knack url.

Hopefully, someone more highly skilled will be able to help you :crossed_fingers::wink:

Hello Keshav,

It’s Simple In knack create a user screen with action link to edit users. and simply use API to update records using “PUT”

  1. First ask user to enter email then make GET API to search records after search
  2. in edit page just add password field ( and place a “PUT” Api to update)

Sunny Singla