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

# Add a component to status page



## OpenAPI

````yaml /openapi.json post /status-pages/{id}/components
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:
  /status-pages/{id}/components:
    post:
      tags:
        - Status Pages
      summary: Add a component to status page
      operationId: StatusPageController_addComponent
      parameters:
        - name: id
          required: true
          in: path
          description: Status Page ID
          schema:
            type: string
      responses:
        '201':
          description: The component has been successfully added.
        '400':
          description: Bad request - Invalid component data.
        '403':
          description: Forbidden - Insufficient permissions.
        '404':
          description: Status page not found.
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````