Hipchat API - View privatechat history

When parsing through users to extract my 1-1 chat history, I am unable to get history with "deactivated" users whom i have a history, is searchable through the client, but cannot pull via the v2 API using "View privatechat history" call. I get below as my return.  I need to extract this.  Is this a limitation on the api call?  How to extract 1-1 chat history with a "deactivated" user?

 

{
  "error": {
    "code": 404,
    "message": "Target user XXXXXXX is not a valid user",
    "type": "Not Found"
  }
}

1 answer

0 votes

I believe this is currently a limitation of the HipChat API - we should add an option to include deleted users when requesting history (since it's something you can do on the web). I'd suggest contacting our support folks by going to https://support.atlassian.com/help//hipchat/ and they can get an official JIRA issue setup for you.

In the meanwhile, if you need API access, you could try temporarily undeleting the user if you have admin privileges by going to https://hipchat.com/admin/users

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

554 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