API to send verification email using user invitation template

Hi,
we are trying to setup custom pre-registration flow and as part of that we have to generate a user invitation template and send an email for verification.

As per the docs, this endpoint doesn’t accept any email template Auth0 Management API v2.

Is there any API to plugin the user invitation template and send the email?

Thanks,
Vidya.

Hi @vidyarani.nethi,

Thanks for reaching out to the Auth0 Community!

I understand that you want to change the verification email template and then send that template in a pre-registration flow.

First, to update the verification email template, I recommend using the Management API Update an Email template endpoint and selecting the verify_email template.

After you have updated the template, you can move on to sending a verification email to the user by calling the Management API Send an email address verification email endpoint.

I would like to emphasize that, by default, newly created users will get a verification email. In this situation, you may only need to customize the template and allow the automatically sent verification email to happen.

I hope this helps!

Did I answer all of your questions?

Thank you.