查询和管理企业微信收到的消息

从配置页面获取的唯一Code

查询条件

API使用示例

获取消息列表

curl -X GET "http://your-server.com/api/messages/your-code?page=1&pageSize=20&startDate=2023-01-01&endDate=2023-01-31"

获取消息统计

curl -X GET "http://your-server.com/api/messages/your-code/stats"

标记消息已读

curl -X POST "http://your-server.com/api/messages/your-code/message-id-123/read"

批量标记已读

curl -X POST "http://your-server.com/api/messages/your-code/batch/read" \
-H "Content-Type: application/json" \
-d '{}'

暂无消息数据

请输入配置Code并点击查询按钮,获取消息列表