Is there a HipChat API that returns the current user and their group? Users of my app integrate with HipChat by providing a personal access token which I'd like to map to their HipChat user and group. Basically I'm looking for something similar to Slack's auth.test endpoint.
Thanks.
Community moderators have prevented the ability to post new answers.
You can get information about your token, including the group id and user, if applicable, by calling https://www.hipchat.com/docs/apiv2/method/get_session
I second the suggestion to write a real integration, however,.
We don't have such an API at the moment. I'm not sure we actually need one.
I'd suggest you don't rely on personal authentication token and make your application an integration . As documented in the authentication section you can as an integration retrieve the access token of a user (doing the OAuth dance etc.). This way you should have all the information you need and be able to guide your users through each steps...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.