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

# Create Comment



## OpenAPI

````yaml actionkit/openapi.json POST /projects/{project_id}/tools/#NOTION_CREATE_COMMENT
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#NOTION_CREATE_COMMENT:
    post:
      summary: Create Comment
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: NOTION_CREATE_COMMENT
                parameters:
                  type: object
                  properties:
                    pageId:
                      type: string
                      description: >-
                        Page ID : The ID of the page to comment on. Provide
                        exactly one of Page ID, Block ID, or Discussion ID.
                        (example: "59833787-2cf9-4fdf-8782-e53db20768a5")
                    blockId:
                      type: string
                      description: >-
                        Block ID : The ID of the block to attach a comment to.
                        Provide exactly one of Page ID, Block ID, or Discussion
                        ID. (example: "d40e767c-d7af-4b18-a86d-55c61f1e39a4")
                    discussionId:
                      type: string
                      description: >-
                        Discussion ID : The ID of an existing discussion thread
                        to reply to. Provide exactly one of Page ID, Block ID,
                        or Discussion ID. The API cannot start a new
                        selected-text discussion. (example:
                        "8fa6e3ec-bebf-494b-94ba-e5e9737842fb")
                    richText:
                      type: object
                      description: >-
                        Rich Text : Comment body as a JSON array of Notion rich
                        text objects. Provide exactly one of Rich Text or
                        Markdown. (example: "[
                          {
                            "type": "text",
                            "text": {
                              "content": "Hello from Paragon."
                            }
                          }
                        ]")
                      properties: {}
                    markdown:
                      type: string
                      description: >-
                        Markdown : Comment body as Markdown (inline formatting
                        only). Provide exactly one of Rich Text or Markdown.
                        (example: "Hello from **Paragon**.")
                    attachments:
                      type: object
                      description: >-
                        Attachments : Optional JSON array of file attachments
                        (max 3). Each item requires file_upload_id from a Notion
                        File Upload with status uploaded. (example: "[
                          {
                            "file_upload_id": "e9c27f5e-c3ed-4f3f-8eba-984581ff6d8c",
                            "type": "file_upload"
                          }
                        ]")
                      properties: {}
                  x-integration: notion
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````