Private Message notification doesn't work if its sent via API Edited

Hi everyone, 

Using this call:

URL:

POST https://mycompany.hipchat.com/v2/user/user@mail.com/message

HEADERS:

Content-Type: application/json
Authorization: Bearer **

BODY:

{
"color": "purple",
"message_format": "html",
"notify":true,
"message": "dasdasdasd"
}

 

If i call this endpoint, the user will receive notification of the message on the top right corner, but if he don't click on this notification before it dissapear, then the user will not be able to find this message again, since on the people list on the left on the hipchat client, no nofitication of this message will appear.

 

Can anyone help me, is it expected behavior ?

 

Thanks ands regards

 

Steve

1 answer

This widget could not be displayed.

Ok found my answer, its most likely a bug because if i remove "message_format": "html" in the body, it works fine. Not cool.

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

382 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