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 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 Tuesday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

136 views 3 8
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