It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I export 1-1 ALL chat history?

I'm able to export most history for my 1-1 chats using the command below, but with mixed results:



curl --header "content-type: application/json" --header "Authorization: Bearer MYTOKEN" -X GET

For some users, the history goes back 9 months or so, and for others it seems to go back to the beginning of our chats. Am I just seeing the last 1000 messages? How can I specify more, paginate or "get all"?




2 answers

0 votes
Steven Behnke Community Leader Sep 07, 2016

The API docs are here –

You can only export 1000 messages to start. After that the system paginates. To get the next 1000, you could add the 'startIndex' parameter – 

curl --header "content-type: application/json" --header "Authorization: Bearer MYTOKEN" -X GET

Unfortunately, the API method will only allow you to view your own private chat history, not history for the entire group.

Actually, 'startIndex' in request does nothing, you get the same messages again.

The documentation mentions 'start-index' for history query. It has to be used with date parameter (otherwise you get error code 400, "Cannot page through recent values"). This seems to work for me:

Btw, auth_token in url is unnecessary, if you already have the Authorization header.


0 votes

In order to view/export history between users other than yourself, you will need to contact support ( - they will be able to initiate a full export for you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Hipchat Cloud

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

33,827 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you