sendRecoveryEmail( )


Sends an email to a member with a unique link to a Wix-managed password reset page. The member can use this page to reset their site password. If the site owner uses this page, it resets their Wix account password instead.

Note: You must publish the Wix site connected to your Headless project. Wix uses the published site to display the password reset page. To do this, open your project dashboard, select Design Site from the left panel, and then select Publish.

Method Declaration
Copy
Method Parameters
emailstringRequired

Email address associated with the account to recover.


optionsSendRecoveryEmailOptions
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?