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

# Reset password using token

> Consume a password-reset token (from the forget-password email) and set a new password. Rate-limited.



## OpenAPI

````yaml /api-reference/openapi.json post /api/auth/reset-password
openapi: 3.1.0
info:
  title: Tedro API
  version: 1.0.0
  description: REST API for the Tedro communication operations platform.
servers:
  - url: https://api.tedro.io
    description: Production
security:
  - sessionCookie: []
    workspaceId: []
paths:
  /api/auth/reset-password:
    post:
      tags:
        - Auth
      summary: Reset password using token
      description: >-
        Consume a password-reset token (from the forget-password email) and set
        a new password. Rate-limited.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthResetPasswordBody'
      responses:
        '200':
          description: Password reset succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthOkResponse'
        '400':
          description: Invalid or expired token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthInvalidTokenResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResetRateLimitedResponse'
      security: []
components:
  schemas:
    AuthResetPasswordBody:
      type: object
      properties:
        token:
          type: string
          minLength: 1
        newPassword:
          type: string
          minLength: 8
      required:
        - token
        - newPassword
      description: Better Auth reset-password payload (consumes token from email)
    AuthOkResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - ok
      required:
        - status
      description: Better Auth generic success response (forget-password, reset-password)
    AuthInvalidTokenResponse:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    AuthResetRateLimitedResponse:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Session cookie set by Better Auth on sign-in.
    workspaceId:
      type: apiKey
      in: header
      name: x-workspace-id
      description: Workspace UUID. Required on all /api/* endpoints.

````