One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
CurrentlyJason
4 years agoNew member | Level 2
Webhooks for File Request Uploads
Hi,
I have created a system that uses Dropbox as part of the automation process. The missing part is being notified when a file is uploaded to a requested file folder. I can see anywhere to co...
Здравко
4 years agoLegendary | Level 20
CurrentlyJason wrote:
... Do I have to create an App for this? ...👍
Hi CurrentlyJason,
Yes, of course! 🙂 Any API access point can be used in context of particular application performing particular task. For most access points a token denoting associated account is required also. To manage tokens you have to get familiar with OAuth 2 flow (described in documentation).
CurrentlyJason wrote:
... The data sent to the webhook would need to specify the file uploaded and the request it was uploaded to.
...
Webhook is used as a place where possible handling of any change, in any account granting access to the application, can be performed. Events CAN'T be restricted in any way!!! You have to filter them accordingly in your code! This technology is suitable for servers where web call is convenient to be delivered and handled.
You may get interested in 2/files/list_folder/longpoll access point, too. Associated cursor can be created to follow particular set of directories (according your need), so no (or easier to implement) additional filtering would be need. Using "longpoll" let you use your application on places where incoming web call is difficult (or impossible) to perform (a type of call mandatory for webhook usage).
You can read the documentation, find out what best fit your needs and use it. 😉
Hope this helps.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,953 PostsLatest Activity: 4 months ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!