provider files GET /files.info
@utdk/slack /files.info
files_info
Gets information about a file.
token query
Authentication token. Requires scope: `files:read`
string
file query
Specify a file by providing its ID.
string
count query
string
page query
string
limit query
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached.
integer
cursor query
Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See [pagination](/docs/pagination) for more details.
string

Try it

Authentication
Configure credentials for Slack Web API
filesInfo
GET/files.info
Gets information about a file.

Authentication token. Requires scope: `files:read`

Specify a file by providing its ID.

The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached.

Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See [pagination](/docs/pagination) for more details.

Configure credentials above to enable sending.

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

TypeScript

import slack from '@utdk/slack';

await slack.filesInfo()