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

This widget could not be displayed.

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

374 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