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

# Set initial password for invited user



## OpenAPI

````yaml /openapi.json post /auth/set-password
openapi: 3.0.0
info:
  title: Uptime Monitor API
  description: >-
    API documentation for the Uptime Monitor application. This API allows users
    to create and manage website monitors, perform checks, and view statistics.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.justanotheruptime.com
security: []
tags:
  - name: auth
    description: Authentication endpoints
  - name: projects
    description: Project management endpoints
  - name: monitors
    description: Monitor management endpoints
  - name: checks
    description: Check-related endpoints
  - name: statistics
    description: Monitor statistics endpoints
paths:
  /auth/set-password:
    post:
      tags:
        - Authentication
      summary: Set initial password for invited user
      operationId: AuthController_setInitialPassword
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetPasswordDto'
      responses:
        '200':
          description: Password set successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordResetResponseDto'
        '401':
          description: Invalid or expired setup token
components:
  schemas:
    SetPasswordDto:
      type: object
      properties:
        token:
          type: string
        password:
          type: string
      required:
        - token
        - password
    PasswordResetResponseDto:
      type: object
      properties:
        message:
          type: string
          example: Password has been reset successfully
      required:
        - message

````