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

# Forgot Password

`POST /auth/forgot-password`

## Request

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

Request a password reset email.

Always returns success to prevent email enumeration.
If an account exists, a reset email will be sent.

## Request body

- ForgotPasswordRequest
  - `email` string, email, required

## Response `200`

Successful Response

- AppRoutersAuthVerifyEmailResponse
  - `success` boolean, required
  - `message` string, required
  - `access_token` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
