企微WorkTool API
首页文档中心合作申请
首页文档中心合作申请
  1. 历史消息
  • 快速入门
  • 功能演示
  • 机器人流程图
  • 消息回调接口规范
  • 常见问题
  • 错误码
  • 指令消息
    • 发送消息
      POST
    • 推送任意图片/音视频/文件
      POST
    • 转发消息(不推荐)
      POST
    • 创建外部群
      POST
    • 修改群信息(含拉人等)
      POST
    • 解散群
      POST
    • 推送微盘图片
      POST
    • 推送微盘文件
      POST
    • 按手机号添加好友
      POST
    • 从外部群添加好友
      POST
    • 修改好友信息
      POST
    • 修改群成员备注
      POST
    • 删除联系人
      POST
    • 添加待办
      POST
    • 清空客户端指令
      POST
    • 批量发送指令
      POST
    • 切换企业(定制)
      POST
    • 发送链接(定制)
      POST
    • 发送自定义path小程序(定制)
      POST
    • 消息撤回(定制)
      POST
    • 推送腾讯文档
      POST
    • 推送收集表
      POST
  • 机器人配置
    • 机器人后端通讯加密
    • 获取机器人信息
    • 查询机器人是否在线
    • 查询机器人登录日志
    • 获取机器人企业列表(定制)
    • 机器人集成微信对话开放平台
  • 群管理
    • 群列表查询
  • 历史消息
    • 指令消息API调用查询
      GET
    • 指令执行结果查询
      GET
    • 机器人消息回调日志列表查询
      GET
    • 历史消息列表查询
      GET
  • 机器人回调配置
    • 机器人消息回调配置
    • 机器人配置回调
    • 查询机器人回调
    • 删除机器人回调
    • 机器人回调接口标准
    • 删除机器人回调(旧)
    • 机器人配置回调(旧)
  • 回调接口Demo
    • QA回调接口Demo2(复读机)
    • QA回调接口Demo3(不回复)
  • 未命名接口
    GET
  1. 历史消息

指令执行结果查询

GET
https://api.worktool.ymdyes.cn/robot/rawMsg/list

请求参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.worktool.ymdyes.cn/robot/rawMsg/list?robotId=worktool1&page=1&size=10&sort=run_time,desc&startTime=2020-12-12 00:00:00&endTime=2030-12-12 00:00:00&type=&messageId='

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 200,
    "message": "操作成功",
    "data": [
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784417250785046528\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-28T11:00:00",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784417250785046528",
            "successList": "[\"仑哥\"]",
            "failList": "[]",
            "timeCost": 4.515
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784392773883858944\",\"receivedContent\":\"09点22分测试ph\",\"textType\":0,\"titleList\":[\"测试群20240426\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-28T09:22:45",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784392773883858944",
            "successList": "[\"测试群20240426\"]",
            "failList": "[]",
            "timeCost": 4.593
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784391555287560192\",\"receivedContent\":\"test测试panghu2\",\"textType\":0,\"titleList\":[\"测试群20240426\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-28T09:17:54",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784391555287560192",
            "successList": "[\"测试群20240426\"]",
            "failList": "[]",
            "timeCost": 3.263
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784391517291352064\",\"receivedContent\":\"test测试panghu\",\"textType\":0,\"titleList\":[\"测试群20240426\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-28T09:17:45",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784391517291352064",
            "successList": "[\"测试群20240426\"]",
            "failList": "[]",
            "timeCost": 5.962
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784387051460702208\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-28T09:00:04",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784387051460702208",
            "successList": "[\"仑哥\"]",
            "failList": "[]",
            "timeCost": 4.942
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784160559065673728\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-27T18:00:03",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784160559065673728",
            "successList": "[\"仑哥\"]",
            "failList": "[]",
            "timeCost": 4.816
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784153154512691200\",\"receivedContent\":\"你好~\",\"textType\":0,\"titleList\":[\"仑哥(这里改成你的微信昵称或群名)\"],\"type\":203}",
            "rawSuccess": 201102,
            "errorReason": "发送成功:  发送失败: 仑哥(这里改成你的微信昵称或群名)",
            "runTime": "2024-04-27T17:30:35",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784153154512691200",
            "successList": "[]",
            "failList": "[\"仑哥(这里改成你的微信昵称或群名)\"]",
            "timeCost": 13.504
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784145470614876160\",\"receivedContent\":\"每日17点提醒云组二线次日值班安排:明天是2024-4-28-星期日,值班人:李鹏。p.s.五一期间要求二线到现场,可在西城。\",\"textType\":0,\"titleList\":[\"强基计划提醒群\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-27T17:00:04",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784145470614876160",
            "successList": "[\"强基计划提醒群\"]",
            "failList": "[]",
            "timeCost": 6.879
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784130360152367104\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-27T16:00:01",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784130360152367104",
            "successList": "[\"仑哥\"]",
            "failList": "[]",
            "timeCost": 4.59
        },
        {
            "rawMsg": "{\"apiSend\":1,\"messageId\":\"1784100161188737024\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
            "rawSuccess": 0,
            "errorReason": "",
            "runTime": "2024-04-27T14:00:01",
            "apiSend": 1,
            "robotId": "worktool1",
            "type": 203,
            "messageId": "1784100161188737024",
            "successList": "[\"仑哥\"]",
            "failList": "[]",
            "timeCost": 4.665
        }
    ]
}
修改于 2024-04-28 05:02:36
上一页
指令消息API调用查询
下一页
机器人消息回调日志列表查询
Built with