---
title: "Set a password using an emailed recovery token"
method: POST
path: "/auth/reset-password"
---

# Set a password using an emailed recovery token

`POST /auth/reset-password`

## Request

- Base URL: `https://api.peelaway.io`
- URL: `https://api.peelaway.io/auth/reset-password`
- Auth: none required

Better Auth accepts JSON {token,newPassword}. A successful reset consumes the token and revokes all existing sessions.

## Response `200`

Password changed; sign in again

## Other responses

- `400`: Invalid or expired token, or invalid password

---

[API](https://skmtc.dev/peelaway/apis/peelaway-image-api.md) · [All operations](https://skmtc.dev/peelaway/apis/peelaway-image-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peelaway/apis/peelaway-image-api/revisions/8ce45533c9d0?raw)
