Remote

Files Remote Share

GET
/files.remote.share

Share a remote file into a channel.

Authorization

slackAuth remote_files:share
AuthorizationBearer <token>

In: header

Scope: remote_files:share

Query Parameters

token?string

Authentication token. Requires scope: remote_files:share

file?string

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

external_id?string

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.

channels?string

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

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/files.remote.share" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True"}