View Source Code

Auth Email

Send Email Verification (No Password)

Send a one-time verification code to an email address to verify ownership. Does not require a password.

Request

  • email
    string
  • userToken
    optional string

Response

  • verification
    object
    • verification.token
      string

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.auth_email.send_verification({
  // Request body
});