Skip to main content
Version: 7.2.X

createEmailVerificationToken(userId)

Parameters#

  • userId
    • type: string

Returns#

Promise<{    status: "OK";    token: string;} | {    status: "EMAIL_ALREADY_VERIFIED_ERROR";}>
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react