I want to know if there is a way to call the password reset api specifying an email template different from the default one. My scenario is this: we have the regular forgot password thing. But one admin user could call a full_user_reset api wich in addition to do the reset password, change some other user parameters in DB and finally send an email to the user with the details of the full reset and the password reset link. Is that possible?
my question is more about if there is a way to call user/password on 2 different scenarios; the first one send an email A (with the default template, info, link and code ) and the second one, send an email B (with diferent template, information but also the link and code as well). There is a way to achieve this?
I’ve already have 2 scripts, in both i call to user/password?reset=true and send the same email with the default template. how can i specify to the 2nd script to send the forgot email but with a different template?
In other words, once you have a new template setup, you can simply call that template from your second script using the name of the template - /api/v2/system/email_template_name
I can’t figure out how to “simply call” or specify the template used by the user/password?reset api other than changing it via the Admin UI, can someone please give me an example of how to do it?
Same for passing in values for the reply_to_email field, is there anyway to set it dynamically in the reset function?
I have tried passing in the template name as shown in examples for the email service, and values for reply_to_email, but nothing works.