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

# Request a password reset link

> E-mails a one-time reset link (valid for 1 hour) to the user. The answer is the same whether or not the account exists and never carries the token.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/auth/forgot-password
openapi: 3.0.0
info:
  title: PlugToPay API
  description: API to make payments easy in multiple gateways.
  version: 1.0.0
servers:
  - url: http://localhost:7701
    description: Test Server
security: []
paths:
  /api/v1/auth/forgot-password:
    post:
      tags:
        - Auth
      summary: Request a password reset link
      description: >-
        E-mails a one-time reset link (valid for 1 hour) to the user. The answer
        is the same whether or not the account exists and never carries the
        token.
      operationId: 2371555a87ccdfc5cf349111759901a9
      parameters:
        - $ref: '#/components/parameters/XClientId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
                - client_id
                - email
              properties:
                client_id:
                  type: string
                  example: client_a1b2c3d4e5f6g7h8
                email:
                  type: string
                  format: email
                  example: john@example.com
              type: object
      responses:
        '200':
          description: Same answer whether or not the account exists
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: >-
                      If this account exists, a reset link has been sent to its
                      e-mail.
                type: object
        '422':
          description: Validation Error
components:
  parameters:
    XClientId:
      name: x-client-id
      in: header
      description: Client identifier for the company in the request.
      required: true
      schema:
        type: string
        example: client_abc123

````

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