provider files GET /files.list
@utdk/slack /files.list
files_list
List for a team, in a channel, or from a user with applied filters.
token query
Authentication token. Requires scope: `files:read`
string
user query
Filter files created by a single user.
string
channel query
Filter files appearing in a specific channel, indicated by its ID.
string
ts_from query
Filter files created after this timestamp (inclusive).
number
ts_to query
Filter files created before this timestamp (inclusive).
number
types query
Filter files by type ([see below](#file_types)). You can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list.
string
count query
string
page query
string
show_files_hidden_by_limit query
Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit.
boolean

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

filesList
GET/files.list
List for a team, in a channel, or from a user with applied filters.

Authentication token. Requires scope: `files:read`

Filter files created by a single user.

Filter files appearing in a specific channel, indicated by its ID.

Filter files created after this timestamp (inclusive).

Filter files created before this timestamp (inclusive).

Filter files by type ([see below](#file_types)). You can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list.

Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.filesList()