---
title: "Verify email OTP code"
method: POST
path: "/v1/auth/email-otp/verify"
tags: ["Auth"]
---

# Verify email OTP code

`POST /v1/auth/email-otp/verify`

Validates 6-digit OTP code and returns Firebase custom token for web sign in.

## Request body

- VerifyEmailOtpDto
  - `email` string, required
  - `code` string, required — 6-digit OTP code

## Response `200`

OTP verified successfully

- VerifyEmailOtpResponseDto
  - `firebaseCustomToken` string, required
  - `firebaseUid` string, required
  - `email` string, required

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
