Last Updated: Nov 4, 2020
Use this function to download a given file from slack server.
Download File (token, file_id, file_path,)
Input Parameter Name | Description |
---|---|
token | Authentication token |
file_id | ID of the file to be downloaded |
file_path | Path of the file to be downloaded |
Return Value | Description |
---|---|
Output |
|
Download File (xoxp-12QWERT, FID, C:/Invoices)
To view the file_id, click the more icon and select Copy link to file in the Slack application. Paste in a text editor, the URL is of the format: https://<Slack URL>/<User ID>/<File ID>/<File Name>.
To view all the Slack functions, click here.