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

# Create comment

> Creates a comment for a specific ticket.

<Warning>
  **Deprecated:** This is a **v1** endpoint. It will continue to work, but we
  recommend migrating to the [v2 equivalent](/api-reference) for improved REST
  compliance (correct HTTP status codes, consistent response envelopes, and
  hyphenated URLs).
</Warning>

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml /bundled-v1/comments.yaml POST /comments
openapi: 3.0.3
info:
  title: NeetoDesk APIs
  version: 1.0.0
servers:
  - description: NeetoDesk APIs
    url: https://{your-subdomain}.neetodesk.com/api/v1/public
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
paths:
  /comments:
    post:
      summary: Create a comment for a ticket
      description: Creates a comment for a specific ticket.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCommentRequest'
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateCommentResponse'
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key
  schemas:
    CreateCommentRequest:
      type: object
      required:
        - ticket_number
        - author_email
        - content
      properties:
        ticket_number:
          type: string
          description: >-
            Number of the ticket for the comment. Refer to `Method 2` in the
            [Getting Ticket
            ID](/getting-started/getting-ticket-id#method-2%3A-from-the-url-ticket-numbers-only)
            section for instructions on how to find this number.
          example: '53'
        author_email:
          type: string
          description: Email address of the person creating the comment.
          example: lenor@example.com
        content:
          type: string
          description: Content for the comment.
          example: We are looking into the issue.
        comment_type:
          type: string
          enum:
            - reply
            - note
          description: The type of the comment. Defaults to `reply`.
          example: note
    CreateCommentResponse:
      type: object
      properties:
        notice_code:
          type: string
          example: comment_created_successfully

````