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

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 Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

495 views 0 2
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