A file was shared
{
"type": "file_shared",
"channel_id": "D01315BHHSN",
"file_id": "F2147483862",
"user_id": "U0Z7K8SRH",
"file": {
"id": "F2147483862"
},
"event_ts": "1617804931.000300"
}
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.
When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id
and event
. Learn more