HipChat API V2 get all rooms has max of 1000 returned. Is there a way around this? We have more than 1000 rooms.

My group that uses HipChat has over 1000 rooms. When use the get all rooms api for our bot to stay in all rooms instead of removing and re-adding the bot every day. This only applies to our first 1000 rooms created though. Now we have more and the stay command we use for our bot is useless. Has anyone found a work around for this problem?

1 answer

1 accepted

Accepted Answer
6 votes

Hi Alexander,

That's correct, 1000 is the maximum number of results you can retrieve with a single request. But you can still make multiple requests using the start-index param to get the next set of results:

  • To get the first 1000 rooms, set max-results = 1000 and start-index = 0
  • To get the next 1000 rooms (from 1000 to 2000), set max-results = 1000 and start-index = 1000 

Hope this helps! More info on https://www.hipchat.com/docs/apiv2/method/get_all_rooms


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

506 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