Question:
Is it possible to customize the graphical format of the reset password emails sent via Wix? We attempted customization following the instructions provided here: Wix Automations: Customizing Automated Emails | Help Center | Wix.com
but unfortunately, the emails are still being sent in the default format. Are there any additional steps or tricks we might have overlooked to ensure the customization works?
Product:
Wix REST API, Wix Studio
What are you trying to achieve:
We aim to send password reset emails using the REST API with a fully customized email design. While the emails are being sent successfully, they still use the default template instead of the customized one.
What have you already tried:
We followed the official documentation for email customization, but the changes are not reflected in the password reset emails.
Additional information:
If there are any specific settings, API adjustments, or alternative approaches that can help us achieve the desired email customization, we’d appreciate the guidance.
I will just add, that we have set the email template here:
While the coming email from WIX REST API is:
It is possible you are experiencing a bug, in which case I reccomend opening a ticket via customer care. Here is one link to start that process https://support.wix.com/
Something you could test to rule out if this is about the REST API (so i’m assuming headless implementation) or somethung else.
If you have the ability to test this from the Wix or Wix Studio site members area, you could try that to see if the template is then used. If your site is not set up for multiple flows like this, I don’t have another path to try other than reaching out to customer care at the above link so they can triage whether or not this is a bug or something else
Maybe this will help you:
It seems there are two different Wix APIs related to password emails:
- Members Authentication API (
/members/.../send-set-password-email
): This is the one we implemented. It seems more geared towards setting a password for the first time or possibly by admin action.
- Recovery API (
/_api/iam/recovery/v1/send-email
): This one is explicitly designed for the “forgot password” flow initiated by the member.
It’s highly likely that the email template customization you did in the Wix Dashboard (shown in your screenshot image_b7569f.png
) applies specifically to the emails sent via the Recovery API flow or the equivalent Velo backend functions, not necessarily the “Set Password” API we used.
Furthermore, as noted before, calling these sensitive Wix APIs directly from the Flutter app using just an anonymous token is problematic for authentication.
The Recommended Solution: Use a Velo HTTP Function
The most reliable and secure way to handle this and ensure your customized email template is used is to:
- Create a Velo HTTP Function on your Wix site backend. This function will securely call the appropriate Wix backend module to trigger the password recovery email.