Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

On email verification requested

You can use this event to send a verification email with a unique link, track how often users request verification, or set limits to avoid abuse.

Interface actions that fire the On email verification requested event

Use Cases

  • Send a verification email with a secure link
  • Throttle repeated requests to prevent abuse
  • Log requests for auditing and support

Event data

Display KeyExample ValueDescription
user{ id: "b20fd6fd-...", email: "user@example.com" }The user who needs to verify their email.
token"eyJhbGciOi..."One‑time token used to validate the verification.
url"https://your-domain.com/verify-email?token=...&redirect_url=..."Complete, ready‑to‑use verification link (includes token and your redirects).

Example payload

json
{
  "user": {
    "id": "b20fd6fd-aa0a-44c2-8429-2e39cc4d59b4",
    "email": "user@example.com"
  },
  "token": "eyJhbGciOi...",
  "url": "https://your-domain.com/verify-email?token=...&redirect_url=https://your-app.com/signed-in"
}

Sending the verification email

Use any email integration to send the link.

View full list of email sending integrations →

Resend

Example using the Resend integration:

Steps:

  1. Add the Send Email action from Resend
  2. Bind fields of the action:
    • To → user.email from the event data
    • Subject → e.g., “Verify your email”
    • HTML/Text → include the url from the event data in the message body

Example HTML snippet:

html
<p>Hi,</p>
<p>Confirm your email address by clicking the link below:</p>
<p><a href="{{url}}">Verify email</a></p>
<p>If you didn’t request this, you can ignore this email.</p>