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

# Update an inline comment

> Three mutually-exclusive modes selected by which field is present in the body: `{ reaction }` toggles an emoji reaction, `{ content }` edits the comment text (author only), `{ resolved }` resolves or re-opens.




## OpenAPI

````yaml /openapi/pages.yaml patch /pages/{id}/inline-comments/{commentId}
openapi: 3.1.0
info:
  title: Connie Pages API
  version: 1.0.0
  description: >
    API for the Pages module â€” a Notion-style hierarchical page/wiki system
    with AI-powered content generation, multi-source syncing, vector search, and
    public/private sharing.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Pages
    description: page lifecycle management (CRUD, folders, favorites)
  - name: Page Articles
    description: Article and content retrieval
  - name: Page Search
    description: Full-text and vector search across pages
  - name: Page Invites
    description: page-specific invitation management
  - name: Page Sharing
    description: Public and shared access endpoints
  - name: Page AI
    description: AI-powered content generation
  - name: Page Attachments
    description: File upload and media management
  - name: Page Bulk
    description: Bulk operations (delete, move)
  - name: Page References
    description: Notion-style page-mention chip management
  - name: Page Comments
    description: Inline (highlight-anchored) comments on page content
  - name: Utilities
    description: Supporting utilities (link preview)
paths:
  /pages/{id}/inline-comments/{commentId}:
    patch:
      tags:
        - Page Comments
      summary: Update an inline comment
      description: >
        Three mutually-exclusive modes selected by which field is present in the
        body: `{ reaction }` toggles an emoji reaction, `{ content }` edits the
        comment text (author only), `{ resolved }` resolves or re-opens.
      operationId: updateInlineComment
      parameters:
        - $ref: '#/components/parameters/pageId'
        - name: commentId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                  required:
                    - reaction
                  properties:
                    reaction:
                      type: string
                      description: >-
                        Emoji shortcode (≤8 chars) to toggle for the calling
                        user
                - type: object
                  required:
                    - content
                  properties:
                    content:
                      type: string
                      description: Replacement comment body
                - type: object
                  required:
                    - resolved
                  properties:
                    resolved:
                      type: boolean
      responses:
        '200':
          description: Comment updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  comment:
                    $ref: '#/components/schemas/InlineComment'
        '403':
          description: Not the comment author (for content edits)
components:
  parameters:
    pageId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Page ID
  schemas:
    InlineComment:
      type: object
      properties:
        id:
          type: string
          format: uuid
        page_id:
          type: string
          format: uuid
        user_id:
          type: string
          format: uuid
        parent_id:
          type: string
          format: uuid
          nullable: true
          description: Thread root has null parent; replies point at the root's id
        content:
          type: string
        quoted_text:
          type: string
          description: The text the comment is anchored to
        text_range_from:
          type: integer
        text_range_to:
          type: integer
        attachments:
          type: array
          items:
            type: object
        mentions:
          type: array
          items:
            type: object
        reactions:
          type: array
          description: Array of `{ emoji, user_ids }` summarising current reactions
          items:
            type: object
            properties:
              emoji:
                type: string
              user_ids:
                type: array
                items:
                  type: string
                  format: uuid
        resolved:
          type: boolean
        resolved_by:
          type: string
          format: uuid
          nullable: true
        resolved_at:
          type: string
          format: date-time
          nullable: true
        resolved_by_user:
          type: object
          nullable: true
          properties:
            id:
              type: string
            name:
              type: string
            email:
              type: string
        user:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            email:
              type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

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