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

API endpoint for HipChat XMPP info?

Hi!

Is there an API endpoint for the XMPP information (https://www.hipchat.com/account/xmpp) that I can parse?  I'd like to let the user enter the normal login information (email, password, server address) instead of having them correctly parse and provide the information on the web page.  I've currently done it manually about half a dozen times, and got it wrong more than right - and I don't expect my users to be better at it than I am :smile:  And that's without entering the nick I need to use for MUCs...

I'd rather avoid trying to hand-parse that HTML page if possible.

(I also expect to need a personal API token at some point in the future, since it looks like there will be things not in the XMPP stream; but I'll think about that when it's actually needed.)

1 answer

You can try using the view user resource (https://www.hipchat.com/docs/apiv2/method/view_user). That has the xmpp_jid on it that you're probably looking for.

Thanks, that seems to be what I'm looking for! Now to figure out how to access that without having the user manually generate a personal token, or having an admin install an integration...

Actually, this gives the JID, but not the host to connect to - and at least on the private server I'm attempting to connect to, it's not the same as the domain part of the JID :(

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