v1

latestOpenAPI 3.0.02026-07-1417448450.4 KB
files

List for a team, in a channel, or from a user with applied filters.

get/files.list

Query parameters

tokenstring

Authentication token. Requires scope: files:read

userstring

Filter files created by a single user.

channelstring

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

ts_fromnumber

Filter files created after this timestamp (inclusive).

ts_tonumber

Filter files created before this timestamp (inclusive).

typesstring

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

countstring
pagestring
show_files_hidden_by_limitboolean

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

Response

Typical success response

oktrue required