Go to Slack

file_shared event

A file was shared

Compatibility: RTM Events API

Scopes: files:read


{
    "type": "file_shared",
    "file_id": "F2147483862",
    "file": {
        "id": "F2147483862"
    }
}

The file_shared event is sent when a file is shared. It is sent to all connected clients for all users that have permission to see the file. The file property includes the file ID, as well as a top-level file_id. To obtain additional information about the file, use the files.info API method.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.