Request
Body Params application/jsonRequired
{
"fromAccount": "string",
"msgRandom": 0,
"msgSeq": 0,
"msgType": "string",
"onlineOnlyFlag": 0,
"syncOtherMachine": 0,
"text": "string",
"toAccount": "string"
}
Request Code Samples
curl --location --request POST '/im/api/send-msg' \
--header 'x-access-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzeXNVaWQiOiJlOWNhMjNkNjhkODg0ZDRlYmIxOWQwNzg4OTcyN2RhZSIsInVzZXJJZGVudGl0eSI6MiwiZXhwIjoxNzQ3MDgxNzYzLCJ1c2VybmFtZSI6ImFkbWluIn0.NaeqryXHUXcM8u5j_l2cIjTyywLEiMHQklrPpEHy79k' \
--header 'Content-Type: application/json' \
--data-raw '{
"fromAccount": "string",
"msgRandom": 0,
"msgSeq": 0,
"msgType": "string",
"onlineOnlyFlag": 0,
"syncOtherMachine": 0,
"text": "string",
"toAccount": "string"
}'
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-10-17 00:33:09