---
title: "Reset Password Endpoint"
method: POST
path: "/auth/reset-password"
tags: ["internal"]
---

# Reset Password Endpoint

`POST /auth/reset-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/reset-password`
- Auth: none declared

Reset password using the token from the reset email.

The token is valid for 1 hour after being requested.

## Request body

- ResetPasswordRequest
  - `token` string, required
  - `new_password` string, 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)
