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

# Create an inline comment

> Anchors a new comment to a text range on the page. Either `content` (max 2000 chars) or at least one attachment is required. Mentioned users in the workspace receive a `mention` notification.




## OpenAPI

````yaml /openapi/pages.yaml post /pages/{id}/inline-comments
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:
    post:
      tags:
        - Page Comments
      summary: Create an inline comment
      description: >
        Anchors a new comment to a text range on the page. Either `content` (max
        2000 chars) or at least one attachment is required. Mentioned users in
        the workspace receive a `mention` notification.
      operationId: createInlineComment
      parameters:
        - $ref: '#/components/parameters/pageId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: string
                  description: Comment body (max 2000 chars after trim)
                quotedText:
                  type: string
                  description: The text the comment is anchored to (max 500 chars)
                from:
                  type: integer
                  description: Start offset of the anchored range
                to:
                  type: integer
                  description: End offset of the anchored range
                parentId:
                  type: string
                  format: uuid
                  description: Reply target — present on replies, omitted on thread roots
                attachments:
                  type: array
                  maxItems: 10
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                      type:
                        type: string
                      url:
                        type: string
                        description: Must be https:// or a data:image/ URI
                mentions:
                  type: array
                  maxItems: 20
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      name:
                        type: string
      responses:
        '200':
          description: Comment created
          content:
            application/json:
              schema:
                type: object
                properties:
                  comment:
                    $ref: '#/components/schemas/InlineComment'
        '400':
          description: Invalid input
        '404':
          description: Page not found
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.