- 注册享免费测试
- 开发说明
- 开发API
- 登录模块
- 联系人相关接口
- 群管理接口
- 消息模块
- 朋友圈模块
- 标签模块
- 个人模块
- 收藏夹模块
- 视频号模块
同步私信消息
POST
/finder/syncPrivateLetterMsg
基础API/视频号模块
请求参数
Header 参数
VideosApi-token
string
必需
示例值:
{{VideosApi-token}}
Body 参数application/json
appId
string
设备ID
keyBuff
string
可选
示例
{
"appId": "{{appid}}",
"keyBuff": ""
}
示例代码
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://api.videostui.com/finder/v2/api/finder/syncPrivateLetterMsg' \
--header 'VideosApi-token: {{VideosApi-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "{{appid}}",
"keyBuff": ""
}'
返回响应
🟢200成功
application/json
Body
ret
integer
必需
msg
string
必需
data
object
必需
list
array [object {4}]
必需
keyBuff
string
必需
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"list": [
{
"syncKeyType": 1,
"itemType": 1,
"content": {
"msg": {
"MsgId": 1,
"FromUserName": {
"string": "wxid_0xsqb3o0tsvz22"
},
"ToUserName": {
"string": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder"
},
"MsgType": 1,
"Content": {
"string": "1"
},
"Status": 3,
"ImgStatus": 1,
"ImgBuf": {
"iLen": 0
},
"CreateTime": 1706084719,
"MsgSource": "<msgsource><pua>1</pua></msgsource>",
"NewMsgId": 5871873953492479000,
"MsgSeq": 1
},
"msgSessionId": "ee06e16a186756394a271218d7dd31f65d3d6aa43dc02a1ec23758f588836d53@findermsg",
"seq": 1,
"extinfo": "CAEQAQ==",
"isSender": 1
},
"subType": 0
},
{
"syncKeyType": 5,
"itemType": 1,
"content": {
"msg": {
"MsgId": 2,
"FromUserName": {
"string": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder"
},
"ToUserName": {
"string": "v2_060000231003b20faec8c7e28811c4d5cc0ded37b0779c48c759a7446a87688c2774e5300c32@finder"
},
"MsgType": 1,
"Content": {
"string": "12"
},
"Status": 3,
"ImgStatus": 1,
"ImgBuf": {
"iLen": 0
},
"CreateTime": 1706084785,
"MsgSource": "<msgsource><bizflag>0</bizflag><pua>1</pua></msgsource>",
"NewMsgId": 1054704077635816600,
"MsgSeq": 2
},
"msgSessionId": "3eab1521919d4531c83a166faa56cf844737c4a295b127f3edcb68ed4375d049@findermsg",
"seq": 2,
"extinfo": "CAEQAQ==",
"isSender": 0
},
"subType": 2
},
{
"syncKeyType": 5,
"itemType": 1,
"content": {
"msg": {
"MsgId": 3,
"FromUserName": {
"string": "v2_060000231003b20faec8c7e28811c4d5cc0ded37b0779c48c759a7446a87688c2774e5300c32@finder"
},
"ToUserName": {
"string": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder"
},
"MsgType": 1,
"Content": {
"string": "文本"
},
"Status": 3,
"ImgStatus": 1,
"ImgBuf": {
"iLen": 0
},
"CreateTime": 1706084840,
"MsgSource": "",
"NewMsgId": 243683914400108300,
"MsgSeq": 3
},
"msgSessionId": "3eab1521919d4531c83a166faa56cf844737c4a295b127f3edcb68ed4375d049@findermsg",
"seq": 3,
"extinfo": "CAIQAw==",
"isSender": 1
},
"subType": 2
},
{
"syncKeyType": 5,
"itemType": 1,
"content": {
"msg": {
"MsgId": 4,
"FromUserName": {
"string": "v2_060000231003b20faec8c7e28811c4d5cc0ded37b0779c48c759a7446a87688c2774e5300c32@finder"
},
"ToUserName": {
"string": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder"
},
"MsgType": 1,
"Content": {
"string": "文本"
},
"Status": 3,
"ImgStatus": 1,
"ImgBuf": {
"iLen": 0
},
"CreateTime": 1706084898,
"MsgSource": "",
"NewMsgId": 7648226390526412000,
"MsgSeq": 4
},
"msgSessionId": "3eab1521919d4531c83a166faa56cf844737c4a295b127f3edcb68ed4375d049@findermsg",
"seq": 4,
"extinfo": "CAIQAw==",
"isSender": 1
},
"subType": 2
},
{
"syncKeyType": 5,
"itemType": 1,
"content": {
"msg": {
"MsgId": 5,
"FromUserName": {
"string": "v2_060000231003b20faec8c7e28811c4d5cc0ded37b0779c48c759a7446a87688c2774e5300c32@finder"
},
"ToUserName": {
"string": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder"
},
"MsgType": 3,
"Content": {
"string": "<?xml version=\"1.0\"?>\n<msg>\n\t<img aeskey=\"38bd282fa5b21a42590269084f95975f\" encryver=\"1\" cdnthumbaeskey=\"38bd282fa5b21a42590269084f95975f\" cdnthumburl=\"3057020100044b30490201000204e49785f102032f5b0d0204e0689377020465b0cae1042436626432326532302d363466332d346135612d383238312d6636303061333033623762620204051438010201000405004c4c6d00\" cdnthumblength=\"1315\" cdnthumbheight=\"120\" cdnthumbwidth=\"120\" cdnmidheight=\"0\" cdnmidwidth=\"0\" cdnhdheight=\"0\" cdnhdwidth=\"0\" cdnmidimgurl=\"3057020100044b30490201000204e49785f102032f5b0d0204e0689377020465b0cae1042436626432326532302d363466332d346135612d383238312d6636303061333033623762620204051438010201000405004c4c6d00\" length=\"22001\" cdnbigimgurl=\"3057020100044b30490201000204e49785f102032f5b0d0204e0689377020465b0cae1042436626432326532302d363466332d346135612d383238312d6636303061333033623762620204051438010201000405004c4c6d00\" hdlength=\"1096\" md5=\"704de7ebbc107a51a4f0986253a6d3b6\" />\n\t<platform_signature></platform_signature>\n\t<imgdatahash></imgdatahash>\n</msg>\n"
},
"Status": 3,
"ImgStatus": 2,
"ImgBuf": {
"iLen": 0
},
"CreateTime": 1706085089,
"MsgSource": "<msgsource><bizflag>0</bizflag></msgsource>",
"NewMsgId": 7744705344788547000,
"MsgSeq": 5
},
"msgSessionId": "3eab1521919d4531c83a166faa56cf844737c4a295b127f3edcb68ed4375d049@findermsg",
"seq": 5,
"extinfo": "CAIQAw==",
"isSender": 1
},
"subType": 2
}
],
"keyBuff": "CgQIARABCgQIAhAACgQIAxAACgQIBBAACgQIBRAFCgQIBhAACgQIBxAACgQICBAACgQICRAACgQIDBAAEAA="
}
}

添加客服微信
其他API相关问题咨询


修改于 2024-08-16 07:17:07