Overview

Initializes the OTP process by sending an OTP code to the provided contact.
  • This function initiates the OTP flow by sending a one-time password (OTP) code to the user’s contact information (email address or phone number) via the auth proxy.
  • Supports both email and SMS OTP types.
  • Returns an OTP ID that is required for subsequent OTP verification.

Package: core

Defined in: core.ts:1151

Parameters

params
object
required

Response

A successful response returns the following fields:
returns
string
required
A promise that resolves to the OTP ID required for verification.