Skip to main content
Question

Listen to root events with webhook v2

  • May 22, 2025
  • 3 replies
  • 22 views

Forum|alt.badge.img

Is there some way to listen events like folder and file creation in the root folder using webhooks v2, or if is another way to receive a notification for these actions?

3 replies

Forum|alt.badge.img

 Unfortunately, webhooks v2 cannot be applied at the root level 


Forum|alt.badge.img

 an alternative is to use the events api : https://developer.box.com/reference#get-events-in-an-enterprise

 

you can get all enterprise events and for each event, check the event type and what folder the event happened on. You would need to store the 'stream_position' value somewhere so you don't retrieve the same events over and over.


Forum|alt.badge.img

Thanks for the responses,

I knew that webhooks v2 don't support notification from the root, but webhook v1 does it, have you in the roadmap the idea to support this for webhooks v2?. At least other cloud storage providers do this in one way or another.