I tried below REST API:
On your local machine, try installing this free SMTP module:
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
Kindly refer below link for configure email sending services:
It may help you.