How to connect to cloud HipChat server from CLI tool

I would need list of all users from our cloud HipChat instance.
Was using:
C:\hipchat_cli\hipchat-cli-4.5.0>hipchat --action getUser --mentionName "@VladimirAblin" --server --token "admin_token"

Remote error: Invalid OAuth session

Do you know why it failed - is it wrong token or connection?
Also how do I get only e-mails of all users in CLI?

1 answer

This widget could not be displayed.

You need a valid HipChat token - see How to Generate a HipChat Access Token. Email is not currently available from the HipChat remote APIs.

I've created token. Could it be the https connection that is a problem? Would hipchat --action getUserList will include e-mails?

Make sure it is the 40-character token as mentioned in the link. An old style token will not work. No, emails are not available.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

386 views 1 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you