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

# Update contact status (Admin only)



## OpenAPI

````yaml /openapi.json patch /contact/{id}
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/{id}:
    patch:
      tags:
        - Contact
      summary: Update contact status (Admin only)
      operationId: ContactController_updateStatus
      parameters:
        - name: id
          required: true
          in: path
          description: Contact submission ID
          schema:
            type: string
      responses:
        '200':
          description: Contact status updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactResponseDto'
      security:
        - bearer: []
components:
  schemas:
    ContactResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the contact submission
          example: 123e4567-e89b-12d3-a456-426614174000
        name:
          type: string
          description: Name of the person who submitted the contact form
          example: John Doe
        email:
          type: string
          description: Email address of the person who submitted the contact form
          example: john.doe@example.com
        subject:
          type: string
          description: Subject of the contact message
          example: Question about Enterprise Plan
        message:
          type: string
          description: Content of the contact message
          example: I would like to know more about your enterprise plan features...
        contacted:
          type: boolean
          description: Flag indicating if admin has contacted the user
          example: false
        admin_notes:
          type: string
          description: Admin notes about the contact request
          example: User was contacted via email on 2025-03-15
          nullable: true
        createdAt:
          format: date-time
          type: string
          description: Date and time when the contact form was submitted
          example: '2025-03-15T10:30:00Z'
        updatedAt:
          format: date-time
          type: string
          description: Date and time when the contact record was last updated
          example: '2025-03-15T14:45:00Z'
      required:
        - id
        - name
        - email
        - subject
        - message
        - contacted
        - admin_notes
        - createdAt
        - updatedAt
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````