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

# Forgot Password

> This endpoint initiates the password reset process for a user.

## POST /auth/forgot-password

This endpoint sends a password reset email to the user. It is a public endpoint and does not require authentication.

### Request Body

<ParamField body="email" type="string" required>
  The email address of the user who has forgotten their password.
</ParamField>

### Response

<ResponseField name="success" type="boolean">
  Indicates whether the request was accepted. For security reasons, this will always be `true` even if the email does not exist in the system.
</ResponseField>

<ResponseField name="message" type="string">
  A confirmation message.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.llmgenerator.com/api/v1/auth/forgot-password \
    -H "Content-Type: application/json" \
    -d '{
          "email": "user@example.com"
        }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "message": "If an account with that email exists, a password reset link has been sent."
  }
  ```
</ResponseExample>
