Skip to main content
Question

Polling vs Webhook-v1 vs Webhook-v2. Best option supported by Box

  • May 22, 2025
  • 3 replies
  • 38 views

Forum|alt.badge.img

I have a use case where I want the data for the events performed by a particular user. Which of the following would be the best option to go with? I would like to know which option is box going to support in the long term.

 

1. Polling - If yes what are the best APIs to poll the data from.

2. Webhook

Which of the above options would be supported by Box in long run?

 

Thanks,

Akanksha

3 replies

Forum|alt.badge.img

  Take a look at the user events endpoint, which should meet you needs: https://developer.box.com/reference#get-events-for-a-user. 

 

Best, 

Kourtney

Box Technical Support Engineer


Forum|alt.badge.img

how they compare in terms of efficiency?

for example when we use long polling do we get events much earlier/faster?  


Forum|alt.badge.img

Hey , webhooks and long polling should deliver the event at approximately the same time so I wouldn't worry about speed when making your decision.  The more important factor, in my opinion, is whether your application design is more efficient using the implementation process of webhooks or long polling.  The following links walk through the implementations of each: