It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,235 views 9 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you