get https://examplebaseURL.com/v1/api/apps//data/enquiry-chat
Response Format
Parameter | Type | Description |
---|---|---|
hid | String | History id (record id) |
roomID | String | Enquiry room id |
seq | Number | Message sequence |
type | String | Channel Type |
fromEID | String | Sender id |
toEID | String | Recipient id |
fromSvcID | String | Caller service ID |
content.from.device | String | Sender device id |
content.from.eid | String | Sender id |
content.from.omniType | String | Omni-channel Type |
content.from.region | String | Sender region |
content.from.service | String | Service ID |
content.from.session | String | Session ID |
content.from.system | Boolean | To understand this message is sent by system |
content.id | String | Message id |
content.msg.channel | Number | (not in use) |
content.msg.text | String | Message content |
content.msg.type | Number | Message type The file type 1:text, 2:file, 5:advanced |
content.plainText | String | (not in use) |
content.replySeqs | String | sequence of message user replied to |
content.retry | Integer | (internal use) |
content.seq | Number | Message sequence |
content.service | String | Service account |
content.to.device | String | Receiver device id |
content.to.eid | String | Message receiver id |
content.to.inquiry | String | Enquiry ID |
content.to.room | String | Enquiry room ID |
content.to.seq | Number | IM sequence |
content.ts | Number | IM timestamp |
content.type | Number | Message type The file type 1:text, 2:file, 5:advanced |
content.version | String | IM schema version |
fromRegion | String | Caller region |
upsertType | String | (Internal use) |
createdAt | String | Chat creation time |
inquiryID | String | Enquiry ID |
msgID | String | Message id |
msgContentType | String | Message type (TYPE_TEXT, TYPE_FILE...) |
msgEventType | String | Message event type (TYPE_MESSAGE, TYPE_PRECHAT,...) |
msgText | String | Message content |
callDuration | Number | call duration |
callDurationMin | Number | call duration in min |
encryptSec | String | (Internal use) |