provider files.remotefiles GET
/files.remote.share @utdk/slack
/files.remote.share files_remote_share
Share a remote file into a channel.
- token query
- Authentication token. Requires scope: `remote_files:share`
- string
- file query
- Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required.
- string
- external_id query
- The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or `file` or both are required.
- string
- channels query
- Comma-separated list of channel IDs where the file will be shared.
- 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.filesRemoteShare()