---
title: "Forgot Password"
method: POST
path: "/api/v1/auth/forgot-password"
tags: ["auth"]
---

# Forgot Password

`POST /api/v1/auth/forgot-password`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/auth/forgot-password`
- Auth: none declared

Request a password reset code.

Sends a 6-digit OTP code to the given email address.
**Always returns success** even if the email is not found, to prevent
email enumeration attacks.

## Request body

- ForgotPasswordRequest: Request to send a password reset code.
  - `email` string, email, required
  - `language` string

## Response `200`

Successful Response

- ForgotPasswordResponse: Response after requesting a password reset code.
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
