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

# Send a reset link.

> Always answers 200, whether or not the address is known — a different answer would confirm which addresses have accounts.



## OpenAPI

````yaml https://raw.githubusercontent.com/Dallas-Peters-Design-Co/photo-portfolio/main/openapi.json post /api/auth/forgot-password
openapi: 3.1.0
info:
  description: >-
    Generated from the handlers in `api/` and the schemas in `schemas/`. Do not
    edit by hand — run `pnpm openapi`.
  title: Photo portfolio API
  version: 1.0.0
servers:
  - description: Local
    url: http://localhost:3006
  - description: Production
    url: https://app.dallaspeters.com
security: []
paths:
  /api/auth/forgot-password:
    post:
      tags:
        - auth
      summary: Send a reset link.
      description: >-
        Always answers 200, whether or not the address is known — a different
        answer would confirm which addresses have accounts.
      operationId: post_api_auth_forgot-password
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                  pattern: >-
                    ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
              required:
                - email
              additionalProperties: false
      responses:
        '200':
          description: Success
        4XX:
          description: Request rejected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        5XX:
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
      required:
        - error
      additionalProperties: false
      description: Every failing endpoint answers with this shape.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.