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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Mar 26, 2018 in Hipchat Data Center

Migration of Hipchat server to Data Center - a retrospective

Background While our Hipchat server environment was reliable and performing well, as a significant and growing part of our business, the need to leverage the benefits of Hipchat Data Center&nbs...

527 views 2 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