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

# Submit contact form

> Submits a contact form message and sends email notifications



## OpenAPI

````yaml /openapi.json post /contact
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:
  /contact:
    post:
      tags:
        - Contact
      summary: Submit contact form
      description: Submits a contact form message and sends email notifications
      operationId: ContactController_submitContactForm
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactFormDto'
      responses:
        '201':
          description: The contact form has been successfully submitted
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Contact form submitted successfully
        '400':
          description: Invalid form data provided or validation failed
        '429':
          description: Too many requests - please try again later
        '500':
          description: Internal server error while processing the contact form
components:
  schemas:
    ContactFormDto:
      type: object
      properties:
        name:
          type: string
          description: Name of the person submitting the contact form
          example: John Doe
          minLength: 2
          maxLength: 100
        email:
          type: string
          description: Email address of the person submitting the contact form
          example: john.doe@example.com
        subject:
          type: string
          description: Subject of the contact message
          example: Question about Enterprise Plan
          maxLength: 200
        message:
          type: string
          description: Content of the contact message
          example: I would like to know more about your enterprise plan features...
          maxLength: 5000
      required:
        - name
        - email
        - subject
        - message

````