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

# Reply to an open comment thread. Resolved threads must be re-opened first.



## OpenAPI

````yaml /api-reference/openapi.json post /comment-threads/{threadId}/comments
openapi: 3.1.0
info:
  title: Replo Public API
  version: '2026-10-05'
servers:
  - url: https://api.replo.app/v1
security: []
paths:
  /comment-threads/{threadId}/comments:
    post:
      tags:
        - Comment-threads
      summary: >-
        Reply to an open comment thread. Resolved threads must be re-opened
        first.
      operationId: commentThreads.reply
      parameters:
        - name: Replo-Api-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2026-10-05'
          description: The public API version to use for this request.
        - schema:
            type: string
            format: uuid
          required: true
          name: threadId
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                  description: >-
                    Client-generated comment id; a retry with the same id is
                    safe.
                body:
                  type: string
                  minLength: 1
                  description: >-
                    Markdown (GFM) parsed as MDX. To mention someone, insert
                    `<Mention data='<mentionable JSON>' />`. Expressions in
                    braces, raw HTML and any other JSX are rejected, so escape a
                    literal `{` or `<` with a backslash. Images must be hosted
                    on assets.replocdn.com.
              required:
                - body
              additionalProperties: false
      responses:
        '201':
          description: >-
            Reply to an open comment thread. Resolved threads must be re-opened
            first.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Comment'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '401':
          description: Missing or invalid Replo Public API token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '403':
          description: You are not authorized to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '409':
          description: The resource is in a conflicting state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '413':
          description: File content exceeds the 10 MiB limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '429':
          description: >-
            Too many requests. Please retry after the time indicated by the
            Retry-After header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '500':
          description: An internal error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '503':
          description: Service temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
      security:
        - bearerAuth: []
components:
  schemas:
    Comment:
      type: object
      properties:
        object:
          type: string
          enum:
            - comment
        id:
          type: string
          format: uuid
        threadId:
          type: string
          format: uuid
        author:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            deleted:
              type: boolean
          required:
            - id
            - name
            - deleted
          additionalProperties: false
        source:
          type: string
          enum:
            - ui
            - agent
            - mcp
            - api
          description: >-
            How the comment was written: ui (the Replo app), agent (a Replo
            agent session), mcp or api.
        body:
          type: string
          description: >-
            Markdown (MDX) written by the commenter, who may be outside the
            workspace. Mentions this API key can't read appear as
            `<RedactedMention category="…" />`. Empty when the comment is
            deleted.
        createdAt:
          type: string
          format: date-time
        editedAt:
          type:
            - string
            - 'null'
          format: date-time
        deleted:
          type: boolean
      required:
        - object
        - id
        - threadId
        - author
        - source
        - body
        - createdAt
        - editedAt
        - deleted
      additionalProperties: false
    PublicApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
          required:
            - code
            - message
            - doc_url
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.