box / box-python-sdk

Box SDK for Python
http://opensource.box.com/box-python-sdk/
Apache License 2.0
418 stars 215 forks source link

Is there a way to get folder_id based on webhook_id created on it? #767

Closed mingchun-zhao closed 1 year ago

mingchun-zhao commented 1 year ago

Hi, I'm looking for an boxsdk API to get folder_id from the associated webhook_id. Any ideas?

antusus commented 1 year ago

Hi,

please check documentation at https://developer.box.com/reference/get-webhooks-id/

When you get webhook details you should be able to get its target and target ID.

mingchun-zhao commented 1 year ago

got it, thanks.