Get Rooms

Get Rooms

GET https://api.imber.live/room/?workSpaceId=[:ID]

This endpoint allows you to get rooms.

Query Parameters

NameTypeDescription

workSpaceId

string

ID of workspace

Headers

NameTypeDescription

Authentication

string

Authentication token

{
    "success": true,
    "data": [
        {
            "unread": {
                "contact": 0,
                "member": 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": "hamet.gh@gmail.com",
                    "organization": "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": "aminhamidi.110@yahoo.com"
                },
                "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",
                "workSpace": "5f00a44d8e844b5a746f90b3",
                "organization": "5f00a44d8e844b5a746f90b1",
                "note": [],
                "createdAt": "2021-01-25T17:45:42.677Z",
                "updatedAt": "2021-01-25T17:45:42.677Z",
            }
        ]
    }

Last updated