Event/Webhook when file is shared with me
I have two questions.
1. Can I setup an event or webhook when a file (or folder) is shared with me by collaboration?
2. I don't see a file updated event or webhook trigger. If a user modifies a box file using an integration (like Microsoft Word online), is there a way to have an event notification that the file has been updated?
-
I don't think collaborations specify a folder correct? They all seem to appear in the root folder, from the perspective of the Web UI.
I have a longpoll setup to watch events which successfully detects collaboration events, but honestly, I would far prefer to have the box API call me at a webhook when someone shares a file with me, than leave a process up, running, and connected to detect the same.
The other alternative I see is setting up a polling interval to ask for collaboration events, but that creates a lag in my application reacting to file shares.
Please sign in to leave a comment.
Comments
2 comments