Go to Slack

file_shared event

A file was shared

Compatibility: RTM Events API

Scopes: files:read


{
    "type": "file_shared",
    "file": { … }
}

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 is a file object containing information about the uploaded file.

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.