slack.com
Export a Slack conversation to a JSON file
Input
conversation requiredWhat to export. A channel as '#general' or 'general'; any conversation by its ID (C, G or D prefix); a direct message as '@handle' or the other person's user ID; or 'self' for your own saved messages. Display names are rejected because several people can share one, so use a handle or an ID.
expectedUser requiredYour Slack handle, display name, or user ID. Checked against the signed-in account before anything is exported.
workspaceDomain requiredWorkspace hostname, for example acme.slack.com.
maxPages optionalSafety cap across history and reply pages. Exceeding it fails rather than downloading a partial archive.
Default: 10000inspectOnly optionalResolve and report the workspace, account and conversation without reading history or downloading anything.
Default: falseOutput
account requiredworkspace requiredconversationId requiredinspectionOnly requiredconversationType requireddownload optionalpageCount optionalthreadCount optionalcounterparty optionalmessageCount optionallastTimestamp optionalfirstTimestamp optionalconversationName optionalcompleteForAccessibleHistory optional