API endpoint for HipChat XMPP info?


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
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...

29,238 views 0 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