chabislav
chabislav

Reputation: 959

Box.com - add box.com app to a specific folder

We have a client who is going to upload files to our box.com folder. As I understand I can use webhooks to trigger a POST request to my server as soon as someone uploads anything. Webhooks are setup inside box.com app that you need to create. This all makes sense. But how do I add my app to "monitor" that specific folder? Do I need to publish my app (I don't want to do that)? Thank you.

Upvotes: 2

Views: 230

Answers (1)

John Hoerr
John Hoerr

Reputation: 8035

How do I add my app to "monitor" that specific folder?

When you configure the webhook for Upload events, you can specify that Box should include the ID (#item_parent_folder_id#) of the folder that received the upload. On the server you can use this ID to monitor for uploads to a specific folder. (This assumes you know the ID of the upload folder in advance, and it sounds like you do.)

enter image description here

Do I need to publish my app?

No, you don't need to publish the app.

Upvotes: 1

Related Questions