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

2 votes

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. 

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 Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

469 views 1 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot