Sends a member an email containing a customized link to a Wix-managed page where the member can reset the password for their account.
Email address associated with the account to recover.
2-letter language code in ISO 639-1 alpha-2 format of the email to be sent.
If no language is specified, the language specified in the member's profile is used.
Where to redirect to after successfully resetting the password.
curl -X POST \
'https://www.wixapis.com/_api/iam/recovery/v1/send-email' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
-d '{
"email": "test@test.com",
"redirect": {
"url": "https://mysite.vercel.app",
"clientId": "7m30240b-mdiu-4924-3852-882bc25b407a"
}
}'
{}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.