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 have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

32,690 views 7 7
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