API

Email verification

At the end of this guide, you will have the email verification system in place with flows for account activation and email change, and MJML email templates that link to your separate frontend application.

The email verification component handles two distinct flows: account activation for new signups and email change verification for existing users updating their email address. Other components like Signup and Profile update rely on this component.

The component includes:

  • Account activation email with MJML template
  • Email change verification email with MJML template
  • A resend endpoint for authenticated users
  • A public consume endpoint the frontend calls after the user clicks the email link
  • Throttled resend (one email per minute per user)
  • Tokens that expire after 24 hours
Note

This guide requires the authentication setup. Follow the setup guide before continuing.

Unlock access
Only Plus subscribers can access the documentation
Log in now
Terms & License Agreement