Sample Response
{
"total": 1,
"moreAvailable": false,
"messages": [
{
"_id": "ms-e172XXXXXX9a492cd2",
"type": "outgoing",
"status": "pending",
"lmodifiedOn": "2019-04-01T13:25:58.512Z",
"createdBy": "u-dfb0a15XXXXXXXXX6afa4c74d",
"channels": [
{
"type": "rcs"
}
],
"components": [
{
"_id": "cp-4fbXXXXXXXXXX6ebdd586531",
"cT": "text",
"data": {
"text": "Thanks! I now have access to your Kore Assistant account. Don’t worry, I never access your account without you asking me to do something for you."
},
"thumbnails": []
}
],
"botId": "st-fe7XXXXXX6e115e94c",
"orgId": "o-5a64XXXXXXXXXa58cd43460c3",
"accountId": "5c9c95bXXXXX23c523dbc",
"isBB": 1,
"ms": 1,
"chnl": "rcs",
"createdOn": "2019-04-01T13:25:58.515Z",
"timestampValue": 1554125158515,
"__v": 0,
"resourceid": "messagestore",
"tags": {
"messageTags": [],
"userTags": [
{
"value": "+919346804623",
"name": "RCSID"
}
],
"sessionTags": []
} }
]
}
Sample Response from POST call:
{
"total": 1,
"moreAvailable": false,
"messages" : [
{
"_id": "ms-xxxxxxxxxxxxxxxxxxxx",
"type": "incoming",
"status": "sent to cs",
"createdBy":"u-xxxxxxxxxxxxxxxxxxx",
"lmodifiedBy": u-xxxxxxxxxxxxxxxxxxx",
"lmodifiedOn": "2019-04-10T10:21:45.103Z",
"channels": [
{
"type": "rtm"
}
],
"botId":"st-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"orgId": “o-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"accountId": "5xxxxxxxxxxxxxxxxxxxxxxxx",
"isBB": 0,
"ms": 1,
"channel": "rtm",
"components": [
{
"_id":"cp-xxxxxxxxxxx",
"cT": "text",
"data": {
"text": "23"
},
"thumbnails": []
}
],
"createdOn": "2019-04-10T10:21:45.106Z",
"timestampValue": 1554891705106,
"__v": 0,
"sessionId": "5cadbefc6a81a71559f6bece"
}
]
}