> ## Documentation Index
> Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Forgot Password

> Send a password reset link to a vendor's email

<Note>
  **V2 Preview** — This endpoint is part of the V2 API preview. Breaking changes may occur.
</Note>

## Overview

Send a password reset email to the vendor. For security, the response is always the same whether or not the email exists. Rate limited to **3 requests per 15 minutes per IP**.

### Use Cases

* **Vendor portal "Forgot password?" link** — Let vendors request a reset email from the login screen
* **Automated password recovery flows** — Trigger a reset on behalf of a vendor from your own UI

## Request Body

<ParamField body="email" type="string" required>
  The vendor's registered email address.
</ParamField>

<ParamField body="shopDomain" type="string" required>
  The Shopify shop domain the vendor belongs to (e.g. `my-store.myshopify.com`).
</ParamField>

## Response

```json 200 theme={null}
{
  "success": true,
  "data": {
    "message": "If the email exists, a reset link has been sent"
  }
}
```

### Error Responses

```json 400 theme={null}
{ "success": false, "error": { "message": "\"email\" must be a valid email", "code": "VALIDATION_ERROR" } }
```

```json 429 theme={null}
{ "success": false, "error": { "message": "Too many requests", "code": "RATE_LIMITED" } }
```

## Example

```bash theme={null}
curl -X POST "https://staging-api.puppetvendors.com/portal/auth/forgot-password" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "vendor@example.com",
    "shopDomain": "my-store.myshopify.com"
  }'
```
