Skip to main content
Question

V2 Webhook get file when renamed

  • May 21, 2025
  • 3 replies
  • 46 views

Forum|alt.badge.img

Hi folks.

Does the v2 webhook support an event similar to FILE.RENAME or FOLDER.RENAME or is the Enterprise Events advice still valid here for the new version of webhooks?

 

(Named the same as the other ticket in order to reference it.).

3 replies

Forum|alt.badge.img

Hi,

 

Strangely enough I have just run into the same problem, tests I have carried out so far indicate that no webhook is fired when a folder/file is renamed, unless there is an undocumented file.renamed / folder.renamed. The situation is obviously more serious for folder renames as that effectively changes the path for all files underneath it, I am aware you can can resolve this using parent, but even so it is inconvenient. Love to hear a solution to this problem.

 

Cheers

Dave


Forum|alt.badge.img

Hi,

according to this post (https://developer.box.com/docs/api-changelog)

 

2017-09-1 New Event Triggers for Webhooks v2

We added two new event triggers for webhooks v2:

  • FILE.RENAMED
  • FOLDER.RENAMED

 

should be possible to listen to FILE.RENAMED event via Webhook V2. I have successfully created a webhook V2 with FILE.UPLOADED and FILE.RENAMED triggers, but only FILE.UPLODED trgger is actually working. I've tried all other FILE.* triggers and all works fine - except the FILE.RENAMED. I've also tried the FOLDER.RENAMED trigger and that one also doesn't work. Am I something missing? Are the F~.RENAMED triggers supported in Webhook V2 or not?

Karel Sokl


Forum|alt.badge.img

Hi,

 

Could you share me your detail setup so that I can check on Box Side why there is no event for rename?

 

What's the webhook-id?

What's the folder-id/file-id the webhook setup on?

What's the folder-id/file-id you were trying to rename?

Around when did you make the changes?