filesRemoteShare
Share a remote file into a channel.
GET /files.remote.share HTTP/1.1Parameters
{
"token": {
"description": "Authentication token. Requires scope: `remote_files:share`",
"required": false,
"location": "query",
"type": "string"
},
"file": {
"description": "Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required.",
"required": false,
"location": "query",
"type": "string"
},
"external_id": {
"description": "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.",
"required": false,
"location": "query",
"type": "string"
},
"channels": {
"description": "Comma-separated list of channel IDs where the file will be shared.",
"required": false,
"location": "query",
"type": "string"
}
}Response Schema
{
"additionalProperties": true,
"description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
"properties": {
"ok": {
"enum": [
true
],
"title": "default success response",
"type": "boolean"
}
},
"required": [
"ok"
],
"title": "Default success template",
"type": "object"
}