> ## 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.

# verifyEmailOTP

```ts theme={null}
function verifyEmailOTP(options: VerifyEmailOTPOptions): Promise<VerifyEmailOTPResult>;
```

Verifies the one-time password (OTP) for the sign in flow with an email.

## Parameters

| Parameter | Type                                                                                                        | Description                       |
| --------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------- |
| `options` | [`VerifyEmailOTPOptions`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/VerifyEmailOTPOptions) | The options for the verification. |

## Returns

`Promise`\<[`VerifyEmailOTPResult`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/VerifyEmailOTPResult)>

The result of the verification.

## Example

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