Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function verifyEmailOTP(options: VerifyEmailOTPOptions): Promise<VerifyEmailOTPResult>;
Verifies the one-time password (OTP) for the sign in flow with an email.

Parameters

ParameterTypeDescription
optionsVerifyEmailOTPOptionsThe options for the verification.

Returns

Promise<VerifyEmailOTPResult> The result of the verification.

Example

const result = await verifyEmailOTP({
  flowId: "flow-id-from-signInWithEmail",
  otp: "123456" // The OTP received in email
});