Chatwee

reporting/get-online-users

Gets the list of users who are currently online.


https://chatwee-api.com/v2/reporting/get-online-users
	

GET https://chatwee-api.com/v2/reporting/get-online-users?chatId=57c493789da1fbc017000029&clientKey=507f191e810c19729de860ea
	

{
  "users": [{
      "id": "59cc00127a6e8b2c3b2717a3",
      "login": "Chatwee Admin",
      "type": "CHATWEE",
      "avatar": "https://static.chatwee-api.com/v2/avatars/LXwfhiKwybzDy9Z68rd9eAyyNdcxNpLs.png",
      "roles": ["ADMIN"],
      "online": false,
      "createTime": "2017-01-08T16:37:21.933Z",
      "lastLoginTime": "2017-09-27T19:45:44.466Z"
  }]
}
	
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