Upload file
documentedUpload a file to Slack.
POST /api/files.uploadFilesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://slack.com/api/files.upload" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-F "channels={{$channels}}" \
-F "initial_comment={{$initial_comment}}" \
-F "title={{$title}}" \
-F "filename={{$filename}}" \
-F "filetype={{$filetype}}" \
-F "thread_ts={{$thread_ts}}" \
-F "file=@{{$filepath}}"