cancel
Showing results for 
Search instead for 
Did you mean: 

REST api to send reset password link

REST api to send reset password link

I tried below REST API:

localhost/magento/rest/V1/customers/password


{
"email": "myemail@gmail.com",
"template": "Forgot Password",
"websiteId": 1
}
 
Response: false
 
Not receiving any email for ID used in request.
 
Please suggest any solution
2 REPLIES 2

Re: REST api to send reset password link

@shivashank6042 

 

On your local machine, try installing this free SMTP module:

https://www.mageplaza.com/magento-2-smtp/

 

Also check in admin panel configuration that the email is turned on. There could be chances that email can be turned off from the admin panel:

Stores -> Configuration -> Advanced -> System -> Mail Sending Settings -> Disable Email Communications to No

 

or 

https://magento.stackexchange.com/questions/143999/cant-send-any-email-from-magento-2-0-admin-panel

Manish Mittal
https://www.manishmittal.com/

Re: REST api to send reset password link

Hi @shivashank6042 

Kindly refer below link for configure email sending services:
https://docs.magento.com/user-guide/system/email-communications.html

It may help you.
Thank you.

Problem solved? Click Accept as Solution!