---
title: "Request password reset link"
method: POST
path: "/forgot-passwords"
tags: ["Customer"]
---

# Request password reset link

`POST /forgot-passwords`

## Request

- Base URL: `http://localhost:8000/api/shop`
- URL: `http://localhost:8000/api/shop/forgot-passwords`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-shop-api/docs/forgot-passwords/post.ts> (a function with typed inputs; its response is checked against the schema)

Sends a password reset email to the given customer email if the account exists.

## Headers

- `X-STOREFRONT-KEY` string, required
- `X-Locale` string
- `X-Channel` string
- `X-Currency` string

## Request body

- object
  - `email` string, required

## Response `201`

Reset link sent

## Other responses

- `400`: Invalid input
- `422`: Validation Error

---

[API](https://skmtc.dev/bagisto/apis/bagisto-shop-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-shop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-shop-api/revisions/f619df36bf29?raw)
