POST

Send Recovery Email


Sends a member an email containing a customized link to a Wix-managed page where the member can reset the password for their account.

Endpoint
POST
https://www.wixapis.com/_api/iam/recovery/v1/send-email

Body Params
emailstringRequiredformat EMAIL

Email address associated with the account to recover.


languagestringformat LANGUAGE

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.


redirectRedirect

Where to redirect to after successfully resetting the password.

Response Object
Returns an empty object.
Send a password recovery email to a member.
Request
cURL
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" } }'
Response
JSON
{}
Errors

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

Did this help?