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 vote

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 Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

469 views 1 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot