![slack download direct message history slack download direct message history](https://cfr.slack-edge.com/75366/marketing/img/features/icons/search-binoculars.png)
SLACK_CONVERSATION_EXPORT_DESTINATION=./my-folder slack-conversation-export -t my-token-here These are prefixed with SLACK_CONVERSATION_EXPORT. It's also possible to send through environment variables for the command line options. d or -destination The folder where your export should build your dated folder/zip Environment Variables Slack-conversation-export -t MY_TOKEN_HERE -d PATH_TO_EXPORT_DIRECTORY Obtain a web token to use on the command line. Usage instructions as a command line tool
![slack download direct message history slack download direct message history](https://imag.malavida.com/mvimgbig/download-fs/slack-15391-1.jpg)
There are two mechanisms or ways to use this script.
#Slack download direct message history install#
Npm install slack-conversation-export Usage and Output Just using the libraries to build out your own solution? Install it as a dependency: Running as a command line script? Install it globally: Trademark / Association Please note that this package is not associated with, endorsed or supported by Slack. (It will not download all public channels). This means all private IMs (single and group), all private channels you belong to, and only public channels you also belong to. Basically that means that it will download all things you're an active participant of, not all of the information.
![slack download direct message history slack download direct message history](https://gi2.io/assets/img/events-desktop.png)
It's important to note that this is about exporting your participation, not your entire Slack space. Slack-conversation-export is a command line script and library that allow you to export your Slack conversations into JSON files. Want to archive your Slack conversations? This might be the tool for you!