---
title: "Reset password"
method: POST
path: "/v1/auth/email/reset-password"
tags: ["Browser Authentication"]
---

# Reset password

`POST /v1/auth/email/reset-password`

## Request

- Base URL: `https://getsocialclaw.com`
- URL: `https://getsocialclaw.com/v1/auth/email/reset-password`
- Auth: none required

Consumes a reset token, replaces the password hash, and invalidates older dashboard sessions.

## Request body

- ResetPasswordRequest: Replaces an email credential using a single-use reset token.
  - `token` string, required: Single-use password reset token.
  - `password` string, password, required: New password. The configured length limits apply.

## Response `200`

Successful response.

- EmailAuthResponse: Email authentication result.
  - `ok` unknown, required
  - `message` string, nullable: User-facing next-step message.
  - `redirectTo` string, nullable: Safe relative path to open after success.
  - `debugUrl` string, nullable: Local-development email link. Never returned in production.

## Other responses

- `400`: Invalid request.
- `401`: Missing, invalid, or unauthorized credentials.
- `404`: Requested resource was not found.
- `422`: Request body or semantic validation failed.

---

[API](https://skmtc.dev/getsocialclaw/apis/socialclaw-api.md) · [All operations](https://skmtc.dev/getsocialclaw/apis/socialclaw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getsocialclaw/apis/socialclaw-api/revisions/a11a6a5b9bc6?raw)
