# 获取微信公众号文章评论的回复列表

`POST /api/wechat-mp-v2/fetch_mp_article_comment_reply_list`

返回某条一级评论下的二级回复。
先调 fetch_mp_article_comment_list 取到每条评论的 content_id，再调用本接口。否则可能出现会话过期的情况

:::highlight yellow 💡
由于微信服务器原因，本接口响应较慢，请将客户端请求超时（timeout）设置为 30 秒；timeout 设置过小会造成已扣费但收不到响应的情况。
:::

## 鉴权

源接口未声明鉴权要求，请结合接入指南确认。

## 请求参数



| 字段 | 位置 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- | --- |
| Authorization | header | string | 是 | 在 Header 添加参数 Authorization，其值为在 Bearer 之后拼接 apikey · default: "Bearer YOUR_API_KEY" |
| Content-Type | header | string | 是 |  · default: "application/json" |

## 请求体 · application/json



| 字段 | 位置 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- | --- |
| url | body | string | 是 | https://mp.weixin.qq.com/s/… 或带 __biz 的长链。示例：https://mp.weixin.qq.com/s/D7H-Fdz-QliybkOrvYFBAw |
| content_id | body | string | 否 | 可选（纯数字）。目标一级评论的 content_id，不传则自动取第一条有回复的评论。 |
| offset | body | integer | 否 | 可选，默认 0（>=0）。回复翻页偏移；首页 0，has_more=true 时传上次返回的 next_offset 取下一页。all_pages=true 时忽略本参数。 |
| all_pages | body | boolean | 否 | 可选，默认 false。为 true 时忽略 offset，一次取全部回复（响应不含 offset / next_offset / has_more 翻页字段）。 |
| raw | body | boolean | 否 | 可选，默认 false。true=原始；false=精简。 |

```json
{
  "type" : "object",
  "properties" : {
    "url" : {
      "type" : "string",
      "title" : "文章链接",
      "description" : "https://mp.weixin.qq.com/s/… 或带 __biz 的长链。示例：https://mp.weixin.qq.com/s/D7H-Fdz-QliybkOrvYFBAw"
    },
    "content_id" : {
      "type" : "string",
      "title" : "评论ID",
      "description" : "可选（纯数字）。目标一级评论的 content_id，不传则自动取第一条有回复的评论。"
    },
    "offset" : {
      "type" : "integer",
      "title" : "偏移量",
      "description" : "可选，默认 0（>=0）。回复翻页偏移；首页 0，has_more=true 时传上次返回的 next_offset 取下一页。all_pages=true 时忽略本参数。"
    },
    "all_pages" : {
      "type" : "boolean",
      "description" : "可选，默认 false。为 true 时忽略 offset，一次取全部回复（响应不含 offset / next_offset / has_more 翻页字段）。"
    },
    "raw" : {
      "type" : "boolean",
      "description" : "可选，默认 false。true=原始；false=精简。"
    }
  },
  "required" : [ "url" ]
}
```

```json
{
  "url" : "https://mp.weixin.qq.com/s/D7H-Fdz-QliybkOrvYFBAw",
  "content_id" : "2098736005413602594",
  "offset" : 0,
  "all_pages" : false,
  "raw" : false
}
```

## 响应 200 · application/json



| 字段 | 位置 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- | --- |
| code | body | integer | 是 |  |
| message | body | string | 是 |  |
| data | body | object | 是 |  |

```json
{
  "type" : "object",
  "properties" : {
    "code" : {
      "type" : "integer"
    },
    "message" : {
      "type" : "string"
    },
    "data" : {
      "type" : "object",
      "properties" : { }
    }
  },
  "required" : [ "code", "message", "data" ]
}
```

```json
{
  "code" : 200,
  "message" : "success",
  "data" : { }
}
```

## cURL

```sh
curl --globoff --request POST 'https://api.getoneapi.com/api/wechat-mp-v2/fetch_mp_article_comment_reply_list' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "url" : "https://mp.weixin.qq.com/s/D7H-Fdz-QliybkOrvYFBAw",
  "content_id" : "2098736005413602594",
  "offset" : 0,
  "all_pages" : false,
  "raw" : false
}'
```

