---
title: "Reset password with OTP"
method: POST
path: "/auth/reset-password"
tags: ["Auth"]
---

# Reset password with OTP

`POST /auth/reset-password`

## Request

- Base URL: `https://api.untools.co/api`
- URL: `https://api.untools.co/api/auth/reset-password`
- Auth: none declared

Verify the reset code and set a new password.

## Request body

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

## Response `200`

Password reset successful

- MessageResponse
  - `message` string
  - `email` string, email: Included on register

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