Rocket chat internal App for list chat or channel information (Creator, moderators, owners)
Application register three setting value: user_token: string user_id: string host_url: string
All are required.
Credentials used for get room roles information via next API endpoint:
/api/v1/roles.getUsersInRole?role=&roomid=
User for this must have only two permissions: Access Permissions Screen View Other User Channels
You cat get credentials by setting permission of generate_personal_access_token for the user(his role) (after getting token you can revoke this permission). Login with it's login-password. Go to Account/Personal Access token page. Provide name for the token and press Add button. Then, copy generated values of token and userId and pass them to settings in application's info page.
Here are some links to examples and documentation: