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

# Verify email with OTP

`POST /auth/verify-email`

## Request

- Base URL: `https://api.untools.co/api`
- URL: `https://api.untools.co/api/auth/verify-email`
- Auth: none declared

Submit the 6-digit code received via email. Returns a JWT on success.

## Request body

- VerifyEmailInput
  - `email` string, email, required
  - `code` string, required: 6-digit OTP from email

## Response `200`

Email verified — JWT returned

- AuthResponse
  - `token` string: JWT Bearer token
  - `user` UserProfile
    - `id` string, uuid
    - `email` string, email
    - `name` string, nullable
    - `emailVerified` boolean
    - `createdAt` string, date-time

## Other responses

- `400`: Invalid or expired code

---

[API](https://skmtc.dev/untools/apis/ai-note-taker-api.md) - [All operations](https://skmtc.dev/untools/apis/ai-note-taker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/untools/apis/ai-note-taker-api/revisions/e2fd4308c6c3?raw)
