Get Conversations

get
Get Conversations

https://api.imber.live/conversation/?workSpaceId=[:ID]
This endpoint allows you to get conversations.
Request
Response
Request
Headers
Authentication
required
string
Authentication token
Query Parameters
workSpaceId
optional
string
ID of workspace
Response
200: OK
Cake successfully retrieved.
{
"success": true,
"data": [
{
"unread": {
"user": 0,
"operator": 0
},
"assigned": [
{
"person": {
"name": "حامد قلیزاده",
"phone": "09354140661",
"avatar": "https://upload.imber.live/preview/5fc60396967be139cea6b9d9/5f00bca8f25cee0466768fa0",
"nickName": "Hamed",
"title": "کارشناس پشتیبانی"
},
"workSpaceIds": [
"5fbb7399d0222a70a8fece80",
"5f00a44d8e844b5a746f90b3"
],
"status": false,
"_id": "5f00bca8f25cee0466768fa0",
"isJoined": true,
"email": "[email protected]",
"containerId": "5f00a44d8e844b5a746f90b1",
"type": 2,
"createdAt": "2020-07-14T07:24:20.931Z",
"updatedAt": "2020-07-14T07:24:20.931Z",
}
],
"isLocked": false,
"mentions": [],
"_id": "600f03d5c289fd0c5752e4a0",
"workSpaceId": "5f00a44d8e844b5a746f90b3",
"user": {
"pages": {
"last": "https://help.imber.live/",
"referrer": "https://app.imber.live/"
},
"person": {
"name": "عماد حمیدی",
"phone": "09029797985",
"email": "[email protected]"
},
"device": {
"OS": "Windows",
"browser": "Chrome",
"browserVer": "88.0.4324.104",
"screenSize": "",
"isMobile": false
},
"conversations": [
"600f03d5c289fd0c5752e4a0"
],
"tags": [],
"segments": [],
"isBlocked": false,
"status": true,
"type": 1,
"_id": "600f03c6ca15e718085205c2",
"workSpaceId": "5f00a44d8e844b5a746f90b3",
"containerId": "5f00a44d8e844b5a746f90b1",
"note": [],
"createdAt": "2021-01-25T17:45:42.677Z",
"updatedAt": "2021-01-25T17:45:42.677Z",
}
]
}