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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import slack from '@utdk/slack';
await slack.filesInfo()