---
title: "Send Reset Password Code"
description: "Send a password reset code to the user's email address."
api: "POST /api/v1/auth/password/send-reset-code"
---

## Request

<ParamField header="x-stack-publishable-client-key" type="string" required>
  The publishable client key for authentication.
</ParamField>

<ParamField header="x-stack-project-id" type="string" required>
  The project ID.
</ParamField>

<ParamField body="email" type="string" required>
  The email address of the account to send the reset code to.
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Whether the reset code was sent successfully.
</ResponseField>

<CodeGroup>
```bash cURL
curl -X POST 'https://api.stack-auth.com/api/v1/auth/password/send-reset-code' \
  -H 'Content-Type: application/json' \
  -H 'x-stack-publishable-client-key: YOUR_PUBLISHABLE_CLIENT_KEY' \
  -H 'x-stack-project-id: YOUR_PROJECT_ID' \
  -d '{
    "email": "user@example.com"
  }'
```

```json 200 Response
{
  "success": true
}
```
</CodeGroup>
