provider files.remotefiles POST /files.remote.add
@utdk/slack /files.remote.add
files_remote_add
Adds a file from a remote service

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.

filesRemoteAdd
POST/files.remote.add
Adds a file from a remote service

Input

Creator defined GUID for the file.

URL of the remote file.

type of file

A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file.

Preview of the document via `multipart/form-data`.

Title of the file being shared.

Authentication token. Requires scope: `remote_files:write`

Enter a gateway URL above to enable sending.

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

TypeScript

import slack from '@utdk/slack';

await slack.filesRemoteAdd()