I used to send easily notifications with curl:

curl
-d '{"message":"hello","notify":true}'
--header "Authorization: Bearer XXXXXXX",
--header "Content-type: application/json"
"https://api.hipchat.com/v2/user/someuser/message

but it has stopped working around 5 february 2017.  I've seen that many changes have been happened in the API at that time.

The token hasn't expired.

I've read carefully this:

https://developer.atlassian.com/hipchat/guide/hipchat-rest-api/api-access-tokens

I've created  new user tokens in https://fccma.hipchat.com/account/api with all permissions but no success:

Here is the response:

{
"error": {
"code": 401,
"message": "Invalid OAuth session",
"type": "Unauthorized"
}

What has changed?

1 answer

0 votes

Looks like this is a duplicate of https://answers.atlassian.com/questions/55417785 - please check out that post for an answer smile

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,449 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