---
title: "GET /comment"
method: GET
path: "/comment"
tags: ["comment"]
---

# GET /comment

`GET /comment`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/comment`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/comment/get.ts> (a function with typed inputs; its response is checked against the schema)

query comment

## Query parameters

- `page` integer
- `pageSize` integer
- `sort` string
- `entityId` string, required
- `entityName` string, required

## Response `200`

comment response

- object
  - `result` Comment[]
    - `id` string
    - `version` string
    - `authorName` string
    - `authorUserId` string
    - `comment` string, required
    - `createdDate` integer
    - `entityId` string
    - `entityName` string
    - `htmlComment` string
    - `lastEditDate` integer
    - `lastModifiedDate` integer
    - `parentCommentId` string
    - `privateComment` boolean
    - `publicComment` boolean
    - `recipientUsers` OnlyId[]
      - `id` string
    - `solution` boolean

## Other responses

- `default`: error response

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
