Slack Files API

The Files API from Slack — 13 operation(s) for files.

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /files.info Get details about a file · Slack Get Files Info #
Ask an LLM
“What are the details of a file that was uploaded, like its name, size and who shared it?”
“Can I page through the comments on a file when I look it up?”
Tell an agent
Get details for file {file}.
Show file {file} with the next {limit} comments after cursor {cursor}.
GET /files.list List files shared in the workspace · Slack Get Files List #
Ask an LLM
“Which files has a given user uploaded?”
“Can I list only images or PDFs shared in one channel within a date range?”
Tell an agent
List files uploaded by user {user}.
List files of type {types} in {channel} shared between {ts_from} and {ts_to}.
GET /files.remote.info Get details about one remote file · Slack Get Files Remote Info #
Ask an LLM
“How do I look up a remote file I added from my own service?”
“Can I find a remote file by my own external ID instead of its file ID?”
Tell an agent
Get details of remote file {file}.
Look up the remote file with external ID {external_id}.
GET /files.remote.list List remote files added to the workspace · Slack Get Files Remote List #
Ask an LLM
“Which remote files from external services have been added to Slack?”
“Can I list remote files shared in one channel during a time window?”
Tell an agent
List all remote files added to the workspace.
List remote files in {channel} added between {ts_from} and {ts_to}.
POST /files.remote.remove Remove a remote file · Slack Post Files Remote Remove #
Ask an LLM
“Can I remove a remote file my app added once it is deleted on our side?”
“Is removing a remote file possible using only my external ID?”
Tell an agent destructive · confirm first
Remove remote file {file}.
Remove the remote file with external ID {external_id}.
GET /files.remote.share Share a remote file into channels · Slack Get Files Remote Share #
Ask an LLM
“How do I post a remote file into a channel so people can see it?”
“Can one remote file be shared into several channels at once?”
Tell an agent
Share remote file {file} into channels {channels}.
Post the remote file with external ID {external_id} to {channels}.
POST /files.remote.update Update an existing remote file · Slack Post Files Remote Update #
Ask an LLM
“Can I change the title or URL of a remote file after adding it?”
“What remote file details, like the preview image or searchable contents, can I update?”
Tell an agent
Rename remote file {file} to {title}.
Point the remote file with external ID {external_id} to the new URL {external_url}.
POST /files.revokePublicURL Revoke a file's public sharing link · Slack Post Files Revokepublicurl #
Ask an LLM
“How do I stop a file from being publicly accessible outside the workspace?”
“Can I turn off an external link I created for a file earlier?”
Tell an agent destructive · confirm first
Revoke public sharing for file {file}.
Disable the external public link on {file}.
POST /files.sharedPublicURL Enable public sharing for a file · Slack Post Files Sharedpublicurl #
Ask an LLM
“Can I create a public link to a file for people outside Slack?”
“What is needed to make an uploaded file externally shareable?”
Tell an agent
Enable a public sharing URL for file {file}.
Make {file} shareable with people outside the workspace.
POST /files.upload Upload a file to channels · Slack Post Files Upload #
Ask an LLM
“How do I upload a file and share it in a channel?”
“Can I create a text snippet from content instead of uploading a file?”
Tell an agent
Upload {filename} to channels {channels} titled {title}.
Create a snippet from {content} and post it in {channels}.
POST /files.delete Delete a file · Slack Delete a File #
Ask an LLM
“How do I permanently delete a file from the workspace?”
“Can my app delete a file someone uploaded by mistake?”
Tell an agent destructive · confirm first
Delete file {file}.
Permanently remove uploaded file {file} from the workspace.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/slack-files-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

slack-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Slack Files API
  version: '1.0'
  description: 'Operations tagged Files across 2 of this provider''s published API definitions: slack-files-openapi.yml, slack-web-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://slack.com/api
  description: Slack Web API production server
tags:


# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-files-api-openapi.yml