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

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 Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

533 views 0 2
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