APIv2: How to be informed by a incomming private message

For room messages, there are Hebhook events.

But I cannot see somthing similar for receiving a private message in the API.

Polling is no Option.

Do I have to use the XMPP-Gateway to receive private message events?

Is there something I missed?

 

 

2 answers

This widget could not be displayed.

Right now, webhooks are limited to room messages. In order to integrate with 1-1 chats, you would need something more along the lines of a bot. We hope to add more API support for 1-1 messages / integrations in the future, but we don't currently have a timeframe for when it will be added. 

This widget could not be displayed.

Thanks for the fast answer, even if it was somehow disappointing.

Is it possibe to connect to the BOSH-Gateway? Is there some documentation?

 

We don't have supporting documentation for connecting to the BOSH gateway, unfortunately. It might be possible to connect (we use https://likeabosh.hipchat.com/http-bind/ as the BOSH endpoint) but it's not currently designed for usage outside of the HipChat clients themselves.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

368 views 1 10
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