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 https://borderfree.hipchat.com --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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Mar 26, 2018 in Hipchat Data Center

Migration of Hipchat server to Data Center - a retrospective

Background While our Hipchat server environment was reliable and performing well, as a significant and growing part of our business, the need to leverage the benefits of Hipchat Data Center&nbs...

527 views 2 7
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