v1
latestOpenAPI 3.1.02026-07-173016.9 KBUpload a file to Slack channels or conversations.
This function allows users to upload and share files in Slack channels or conversations. It supports various file upload options including content, filename, file type, and additional metadata. The function returns a promise that resolves to the Slack API response containing file details or error information.
post/uploadFile
Request body
Response
Successful file upload