---
title: "get comment by id"
method: GET
path: "/answer/api/v1/comment"
tags: ["Comment"]
---

# get comment by id

`GET /answer/api/v1/comment`

get comment by id

## Query parameters

- `id` string, required

## Response `200`

OK

- object
  - `code` integer — http code
  - `data` object — response data
    - `count` integer
    - `list` SchemaGetCommentResp[]
      - `comment_id` string — comment id
      - `created_at` integer — create time
      - `is_vote` boolean — current user if already vote this comment
      - `member_actions` SchemaPermissionMemberAction[] — MemberActions
        - `action` string
        - `name` string
        - `type` string
      - `object_id` string — object id
      - `original_text` string — original comment content
      - `parsed_text` string — parsed comment content
      - `reply_comment_id` string — reply comment id
      - `reply_user_display_name` string — reply user display name
      - `reply_user_id` string — reply user id
      - `reply_user_status` string — reply user status
      - `reply_username` string — reply user username
      - `user_avatar` string — user avatar
      - `user_display_name` string — user display name
      - `user_id` string — user id
      - `user_status` string — user status
      - `username` string — username
      - `vote_count` integer — user vote amount
  - `msg` string — response message
  - `reason` string — reason key

---

[API](https://skmtc.net/apache/apis/apache-answer.md) · [All operations](https://skmtc.net/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apache/apache-answer/versions/e9c2980e6571/schema)
