Sample - Slack Web API
GET/files.remote.info

Get remote file information

Retrieves information about a remote file registered with the service. Identify the file with file or the creator-defined external_id. The response confirms whether the request succeeded.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
tokenstringoptional
Authentication token with the `remote_files:read` scope.
filestringoptional
The ID of the registered remote file.
external_idstringoptional
The creator-defined GUID of the remote file.

2 status codes
200Returns an object with `ok` set to true when remote file information is retrieved.
okbooleanrequired
Allowed:true
defaultReturns an object with `ok` set to false when the remote file cannot be found or the request is invalid.
okbooleanrequired
Allowed:false

Error handling

The authentication token must have the remote_files:read scope. Provide a file ID or an external_id that identifies the remote file you want to retrieve.