Chatwee

room/online-users

Lists users that are logged in a certain room.


https://chatwee-api.com/v2/room/online-users
    

GET https://chatwee-api.com/v2/room/online-users?chatId=57c493789da1fbc017000029&clientKey=507f191e810c19729de860ea&roomId=582b8fe76b0c2d22587336f4
    

{
    "users": [
        {
            "id": "60056e4792d3f647931c3eed",
            "type": "GUEST",
            "login": "gość_Evan",
            "avatar": null,
            "roles": [],
            "countryCode": "PL",
            "color": "ff6633"
        }
    ]
}
    
Name Description Type Mandatory Remarks
chatId unique chat ID string yes available in 'INTEGRATION' section of the Chatwee Dashboard
clientKey client secret string yes available in 'INTEGRATION' section of the Chatwee Dashboard
roomId room ID string yes obtained with /room/create method