Setting user password after email verification

This is a follow up to this thread: https://auth0.com/forum/t/authenticate-with-email-password-through-the-api/5680, where @jmangelo was helping me

I have another problem, that I couldn’t find answer for, would be great if you could help!

Is it possible to verify the user using the API, by using your default verification email? e.g. the user clicks on the link and is redirected to our web page, after that I’m calling the API to set the user’s password and verify the account.

The thing here is that sometimes we register users programmatically and they set the password after verifying their email address.