Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Event/Webhook when file is shared with me

New post

Comments

2 comments

  • Kourtney

    Hello, 

    Are you looking at watching an entire account or just a specific folder? 

    Best,

    Kourtney, Box Developer Advocate

    0
    Comment actions Permalink
  • Box Test Account

    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. 

    0
    Comment actions Permalink

Please sign in to leave a comment.