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

...able to use the clients After a bunch of testing (rooms, memberships, check for private message history, and most importantly - the custom emoticons!) nearly everything was looking as we needed, however...

439 views 2 6
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