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

# Forgot Password

> Request a password reset email.

Always returns 202 with an empty body, whether or not the address belongs
to an account. When it belongs to an active account, a reset link is
emailed; the single-use token it carries is valid for one hour and sits in
the link's URL fragment (after `#`). Send that token to
`POST /api/auth/reset` together with the new password.



## OpenAPI

````yaml /openapi/mio-openapi.json post /api/v1/auth/forgot
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/auth/forgot:
    post:
      tags:
        - auth
      summary: Forgot Password
      description: >-
        Request a password reset email.


        Always returns 202 with an empty body, whether or not the address
        belongs

        to an account. When it belongs to an active account, a reset link is

        emailed; the single-use token it carries is valid for one hour and sits
        in

        the link's URL fragment (after `#`). Send that token to

        `POST /api/auth/reset` together with the new password.
      operationId: auth.post_auth_post_auth_forgot
      parameters:
        - in: header
          name: User-Agent
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: User-Agent
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ForgotPasswordRequest'
        required: true
      responses:
        '202':
          description: Accepted. The response body is empty.
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Invalid email address or unknown body field
        '429':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Rate limited
        '500':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Password reset is not configured on this deployment
components:
  schemas:
    ForgotPasswordRequest:
      additionalProperties: false
      properties:
        email:
          format: email
          title: Email
          type: string
      required:
        - email
      title: ForgotPasswordRequest
      type: object
    JsonApiErrorResponse:
      description: Error JSON:API response.
      properties:
        errors:
          items:
            $ref: '#/components/schemas/JsonApiError'
          title: Errors
          type: array
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - errors
      title: JsonApiErrorResponse
      type: object
    JsonApiError:
      properties:
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Detail
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        source:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Source
        status:
          title: Status
          type: string
        title:
          title: Title
          type: string
      required:
        - status
        - title
      title: JsonApiError
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http

````

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