1

I have a free plan on slack and, for a bunch of reasons, I regularly download the export zip file from the webpage https://www.slack.com/services/export.

Is there a way to export exactly that .zip file through web api? I'll use it from a python script.

I cannot find anything inside the documentation. So I'm asking here.

David
  • 302
  • 3
  • 13

1 Answers1

1

I don't think there is a single API method for this function, but the same information can be gathered pretty easily combining several existing API methods:

And by using the alternative conversations API you can even get all messages from private channels, which the export function can not do.

Erik Kalkoken
  • 30,467
  • 8
  • 79
  • 114
  • Thank you Erik. I've used those methods, but I'm using a python application (slack-export-viewer) that requires the json exactly how they are exported with the web interface. – David Mar 10 '18 at 17:28
  • You may want to take a closer look at the data from those API methods. I might be wrong, but at first glance it looks like there provide the exact same output like the official export. – Erik Kalkoken Mar 10 '18 at 17:43
  • Oh ok, maybe I'm wrong. I'll look at it better. Thanks a lot! – David Mar 12 '18 at 11:45