- 文档必读
- 个人微信
- 监听回调事件
- api请求
- 发送消息
- rpa消息
- 好友相关接口
- 登录相关接口
- 群相关接口
- 机器人相关接口
- 微信相关接口
- 转账相关
- 发送聊天记录消息POST
- 解密图片POST
- 获取本地图片Base64(根据本地图片路径获取Base64)POST
- 更新日志
- 插件敏感词审核机制
获取机器人信息
POST
http://localhost:10001/api/processor
请求参数
Body 参数application/json
type
string
事件类型
示例值:
robotInfo
params
object
必需
robotId
string
机器人微信ID
示例值:
机器人微信id
instanceId
string
必需
示例值:
机器人实例id
cache
integer
必需
示例值:
1
示例
{
"type": "robotInfo",
"params": {
"robotId": "机器人微信id",
"instanceId": "机器人实例id",
"cache": 1
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:10001/api/processor' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
type
string
事件类型
示例值:
robotInfo
description
string
描述
示例值:
获取群聊列表
time
integer
时间戳
data
object
必需
robotId
string
机器人微信ID
示例值:
机器人微信id
instanceId
string
必需
示例值:
机器人实例id
wxNum
string
机器人微信号
示例值:
好友微信号
nickname
string
机器人昵称
device
string
登录设备
示例值:
登录设备
phone
string
手机号
avatarUrl
string
头像
示例值:
头像
country
string
国家
province
string
省
sign
string
账号签名
示例
{
"type": "robotInfo",
"description": "获取群聊列表",
"time": 0,
"data": {
"robotId": "机器人微信id",
"instanceId": "机器人实例id",
"wxNum": "好友微信号",
"nickname": "string",
"device": "登录设备",
"phone": "string",
"avatarUrl": "头像",
"country": "string",
"province": "string",
"sign": "string"
}
}
修改于 2025-02-11 03:00:49