Request Code Samples
curl --location -g --request GET '/im/api/sendMsg?msgBody[0].msgContent.text&msgBody[0].msgType&msgRandom&toAccount' \
--header 'x-access-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzeXNVaWQiOiJlOWNhMjNkNjhkODg0ZDRlYmIxOWQwNzg4OTcyN2RhZSIsInVzZXJJZGVudGl0eSI6MiwiZXhwIjoxNzQ3MDgxNzYzLCJ1c2VybmFtZSI6ImFkbWluIn0.NaeqryXHUXcM8u5j_l2cIjTyywLEiMHQklrPpEHy79k'
Responses
{
"code": 0,
"message": "string",
"result": {
"actionStatus": "string",
"completeFlag": 0,
"errorCode": 0,
"errorDisplay": "string",
"errorInfo": "string",
"sessionItem": [
{
"groupId": "string",
"msgTime": 0,
"toAccount": "string",
"toAccoutName": "string",
"topFlag": 0,
"type": 0
}
],
"startIndex": 0,
"timeStamp": 0,
"topStartIndex": 0,
"topTimeStamp": 0
},
"success": true,
"timestamp": 0
}
Modified at 2025-04-25 05:20:28