Machine-readable version of this page: /method/account.verifyEmail.md.
Verify an email address.
account.emailVerified#2b96cd1b email:string = account.EmailVerified;
account.emailVerifiedLogin#e1bb0d61 email:string sent_code:auth.SentCode = account.EmailVerified;
---functions---
account.verifyEmail#32da4cf purpose:EmailVerifyPurpose verification:EmailVerification = account.EmailVerified;
| Name | Type | Description |
|---|---|---|
| purpose | EmailVerifyPurpose | Verification purpose |
| verification | EmailVerification | Email verification code or token |
| Code | Type | Description |
|---|---|---|
| 400 | CODE_INVALID | Code invalid. |
| 400 | EMAIL_INVALID | The specified email is invalid. |
| 400 | EMAIL_NOT_ALLOWED | The specified email cannot be used to complete the operation. |
| 400 | EMAIL_VERIFY_EXPIRED | The verification email has expired. |
| 400 | PHONE_CODE_EXPIRED | The phone code you provided has expired. |
| 400 | PHONE_NUMBER_INVALID | The phone number is invalid. |