Files

Files Remote Update

POST
/files.remote.update

Updates an existing remote file.

Authorization

slackAuth remote_files:write
AuthorizationBearer <token>

In: header

Scope: remote_files:write

Header Parameters

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

Value in

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

Request Body

application/x-www-form-urlencoded

token?string

Authentication token. Requires scope: remote_files:write

file?string

Specify a file by providing its ID.

external_id?string

Creator defined GUID for the file.

title?string

Title of the file being shared.

filetype?string

type of file

external_url?string

URL of the remote file.

preview_image?string

Preview of the document via multipart/form-data.

indexable_file_contents?string

File containing contents that can be used to improve searchability for the remote file.

Response Body

application/json

application/json

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