13.17
列出聊天记录
GET
/<guild_id>/api/transcripts列出已关闭工单的聊天记录,并附带评价、关闭理由和聊天记录链接。这会暴露历史工单数据,因此需要 `view_transcripts` 权限(默认关闭)。
查询参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| limit | number | 可选 | 每页数量,1-100(默认 50)。 |
| offset | number | 可选 | 分页时跳过的结果数量(默认 0)。 |
请求示例
curl -X GET \
-H "Authorization: Bearer <API_TOKEN>" \
"https://api.ticketsx.xyz/<guild_id>/api/transcripts?limit=25"