By default, WordPress provide filter message hook with which we can control the sending email on click of Reset My Password button.
If we send the empty string as $message it will not send the email. So I have used the filer message hook and send empty string. I have written a login to post the link to API.
But the problem comes while using ultimate member plugin. The ultimate member plugin does not have such filter message hooks.
Help me in finding a hook to write API call logic when the email field is given in the password reset form and submitted using Ultimate member plugin