Send an email verification token or link to the authenticated user
{ success: true } if the user is already verified.
"code" — The email contains a short token the user types into your app. Call the Verify Email endpoint to complete verification."link" — The email contains a clickable button. When clicked, the server verifies the token and redirects the user (or renders a hosted confirmation page).| Value | Example | Notes |
|---|---|---|
"hex" | a3f9c2... | 64-character hex string. tokenLength is ignored. |
"numeric" | 048291 | Digits only (0–9). Good for OTP-style inputs. |
"alpha" | GXRTPK | Uppercase letters only (A–Z). |
"alphanumeric" | B4KR9Z | Uppercase letters and digits. |
4 and 12. Ignored when tokenFormat is "hex".mode is "link".On success the query parameter ?verified=true is appended. On failure, ?verified=false&error=invalid-or-expired-token is appended instead.If omitted, the server renders a hosted success/error page.true when the request is processed without a server error (including when the user is already verified).| Code | Status | Description |
|---|---|---|
auth/not-password-user | 400 | The authenticated user does not have an email/password account. |