Skip to main content
Question

Webhooks subscription problem. Can not subscribe to the root

  • May 21, 2025
  • 1 reply
  • 5 views

Forum|alt.badge.img

Can not subscribe to root
curl 'https://api.box.com/2.0/webhooks' -d "{\"target\":{\"id\":\"0\",\"type\":\"folder\"},\"address\":\"https://workato-webhooks-dev.herokuapp.com/webhooks/notify/box?uuid=JLQtrYcp91hhsoqXxPeKiA\",\"triggers\":[\"FILE.UPLOADED\"]}" -H 'Authorization: Bearer *************'

The response is:

{"type":"error","status":403,"code":"access_denied_insufficient_permissions","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Access denied - insufficient permission","request_id":"removed for privacy580e4179c7c57"}

1 reply

Forum|alt.badge.img

Thank you for posting your question. I am surprised to see that it isn't documented, but that is a known limitation. We will update the documentation to reflect that. 

 

Your discovery is correct - webhooks v2 cannot be set on a root folder.