Authorization: Bearer ********************
{
"sendID": "openIMAdmin",
"recvID": "2iepONFx7sJn4yQYmpUoIknrkZ8oIQyVlm3rb8Ny9UW",
"groupID": "",
"senderNickname": "Faker",
"senderFaceURL": "https://dev-skytop.oss-cn-chengdu.aliyuncs.com/user/cert/company/202308/2023-0823-0127-2c5e0f8b-mp.jpg",
"senderPlatformID": 10,
"content": {
"mixType":0,
"text":"product is online!",
"notificationType":1,
"notificationName":"上架消息"
},
"contentType": 1400,
"sessionType": 4,
"isOnlineOnly": false,
"notOfflinePush": false,
"sendTime": 1695212630890,
"offlinePushInfo": {
"title": "测试产品1上架",
"desc": "",
"ex": "",
"iOSPushSound": "default",
"iOSBadgeCount": true
}
}
curl --location --request POST '/msg/send_msg' \
--header 'operationID: 1646445464564' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiJvcGVuSU1BZG1pbiIsIlBsYXRmb3JtSUQiOjEsImV4cCI6MTcxMzAyODgwMiwibmJmIjoxNzA1MjUyNTAyLCJpYXQiOjE3MDUyNTI4MDJ9.cXW7YrnaQNa8C7pB2XC0vVzi6Bu9JjmwpDXuDuRncrA' \
--header 'Content-Type: application/json' \
--data-raw '{
"sendID": "openIMAdmin",
"recvID": "2iepONFx7sJn4yQYmpUoIknrkZ8oIQyVlm3rb8Ny9UW",
"groupID": "",
"senderNickname": "Faker",
"senderFaceURL": "https://dev-skytop.oss-cn-chengdu.aliyuncs.com/user/cert/company/202308/2023-0823-0127-2c5e0f8b-mp.jpg",
"senderPlatformID": 10,
"content": {
"mixType":0,
"text":"product is online!",
"notificationType":1,
"notificationName":"上架消息"
},
"contentType": 1400,
"sessionType": 4,
"isOnlineOnly": false,
"notOfflinePush": false,
"sendTime": 1695212630890,
"offlinePushInfo": {
"title": "测试产品1上架",
"desc": "",
"ex": "",
"iOSPushSound": "default",
"iOSBadgeCount": true
}
}'
{}