I am an admin of a Rocket Chat instance and I’m trying to find out a harassment message sent by one of the employees to another that was later deleted by the sender after about 10 minutes or so. Since only once a day back up of the DB takes place, there is no way to pull that data out of the backup archives.
Can anyone guide me how to achieve this by using the APIs? Do I need to assign any specific permissions to the admin user? For example, when I try to get any room ID using admin user ID and Auth token, it gives me a “Not Allowed” error.
curl -H "X-Auth-Token: <token>" -H "X-User-Id: userid" -H "Content-type: application/json" -g https://rocket.chat/api/v1/rooms.info?roomId='4axpKHmxZgek4w9aJyZvygXMeWaygtef6Z'
Server Setup Information
- Version of Rocket.Chat Server: 2.3.0
- Operating System: Ubuntu 16.04
- Deployment Method: tar
- Number of Running Instances: 1