Does Webhooks works with files attached to the doctype?

hi
does Webhooks works with files attached to the doctype ?

^up^up^up^up^up^up

@ahmadRagheb it seems to be yes,please look at this:

@Mohammed_Redha
@ahmadRagheb
Actually, I used this functionality but it seems to be failed as it actually removes the document and raises the error message.

Regards
Ruchin Sharma