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
filesRemoteShare
GET/files.remote.share
Share a remote file into a channel.

Authentication token. Requires scope: `remote_files:share`

Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required.

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.

Comma-separated list of channel IDs where the file will be shared.

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.filesRemoteShare()