---
title: "Verify the password reset token and set a new password"
method: POST
path: "/auth/password-reset/verify"
tags: ["auth"]
---

# Verify the password reset token and set a new password

`POST /auth/password-reset/verify`

## Request

- Base URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1`
- URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1/auth/password-reset/verify`
- Auth: none declared
- TypeScript: <https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/docs/auth/password-reset/verify/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `token` string, required
  - `new_password` string, required

## Response `200`

Password reset successfully

- object
  - `status` string
  - `message` string
  - `statusCode` integer

## Other responses

- `400`: Invalid input
- `422`: Validation error
- `500`: Server error

---

[API](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger.md) - [All operations](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/llms.txt) - [OpenAPI document](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/revisions/2d1d3ed96bb9?raw)
