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

This widget could not be displayed.

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

397 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