> ## 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.

# Create project

> Create a new project for the authenticated user



## OpenAPI

````yaml /openapi.json post /projects
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:
  /projects:
    post:
      tags:
        - Projects
      summary: Create project
      description: Create a new project for the authenticated user
      operationId: ProjectController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectDto'
      responses:
        '201':
          description: Project successfully created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateProjectDto'
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - Insufficient permissions
      security:
        - bearer: []
components:
  schemas:
    CreateProjectDto:
      type: object
      properties:
        name:
          type: string
          description: The name of the project
        description:
          type: string
          description: The description of the project
        isPublic:
          type: boolean
          description: Whether the project is public
        settings:
          description: Project settings
          allOf:
            - $ref: '#/components/schemas/ProjectSettings'
      required:
        - name
    ProjectSettings:
      type: object
      properties:
        notifications:
          $ref: '#/components/schemas/NotificationSettings'
        statusPage:
          $ref: '#/components/schemas/StatusPageSettings'
        ssl:
          $ref: '#/components/schemas/SSLSettings'
        monitoring:
          $ref: '#/components/schemas/MonitoringSettings'
    NotificationSettings:
      type: object
      properties:
        email:
          type: boolean
          description: Enable email notifications
        slack:
          type: boolean
          description: Enable Slack notifications
        webhook:
          type: boolean
          description: Enable webhook notifications
    StatusPageSettings:
      type: object
      properties:
        enabled:
          type: boolean
          description: Enable status page
        customDomain:
          type: string
          description: Custom domain for status page
        theme:
          type: string
          description: Theme for status page
          enum:
            - light
            - dark
    SSLSettings:
      type: object
      properties:
        enabled:
          type: boolean
          description: Enable SSL certificate monitoring
        autoRenew:
          type: boolean
          description: Auto-renew SSL certificates when possible
        expiryThreshold:
          type: number
          description: Days before expiry to show warning
          minimum: 1
          maximum: 90
        alertThreshold:
          type: number
          description: Days before expiry to show critical alert
          minimum: 1
          maximum: 30
    MonitoringSettings:
      type: object
      properties:
        regions:
          description: List of enabled monitoring regions
          type: array
          items:
            type: string
        customRegions:
          description: List of custom monitoring regions
          type: array
          items:
            type: string
        performanceThresholds:
          $ref: '#/components/schemas/PerformanceThresholds'
    PerformanceThresholds:
      type: object
      properties:
        responseTime:
          type: number
          description: Average response time threshold in ms
          minimum: 100
        p95ResponseTime:
          type: number
          description: 95th percentile response time threshold in ms
          minimum: 100
        p99ResponseTime:
          type: number
          description: 99th percentile response time threshold in ms
          minimum: 100
        reliability:
          type: number
          description: Target reliability percentage
          minimum: 90
          maximum: 100
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````