---
title: "Reset password"
method: POST
path: "/accounts/reset-password"
tags: ["Authentication"]
---

# Reset password

`POST /accounts/reset-password`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/reset-password`
- Auth: none required
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/reset-password/post.ts> (a function with typed inputs; its response is checked against the schema)

Resets a user's password

## Request body

- object
  - `email` string, email: User email
  - `token` string, required: Password reset token
  - `password` string: Current password (required when authenticated)
  - `new_password` string, required: New password. Requirements: - Minimum length: 8 characters - Must contain at least one uppercase letter - Must contain at least one lowercase letter - Must contain at least one digit (number) - Must contain at least one special character (punctuation or symbol) - Maximum length: 99 characters

## Response `200`

Password reset successfully

- SuccessResponse
  - `message` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
