Forum Discussion

gleung's avatar
gleung
Mentor
10 years ago

Email verification status from API

Is there a API call where we can determine if a particular user has verified their email address? So that if the user has registered but not yet verified their email address, we can prompt them to confirm their account through the verifcation email?

 

Thanks

  • gleung - You can try to make the following restapi call to get the verification status. If the email has been verified, then the value is true else this returns nothing (blank).

    /restapi/vc/users/login/<login>/settings/name/user.email_verified
    or
    /restapi/vc/users/self/settings/name/user.email_verified

  • gleung - You can try to make the following restapi call to get the verification status. If the email has been verified, then the value is true else this returns nothing (blank).

    /restapi/vc/users/login/<login>/settings/name/user.email_verified
    or
    /restapi/vc/users/self/settings/name/user.email_verified