REST API vs. webhooks

I have now heard repeated rumors that the Rest API is probably at least unofficially deprecated, but without any evidence.

I’m currently in the process of connecting a few dozen devices to the API via token because it also seems more secure to me, as the only “security” of a webhook is its ID designation (as far as I know anyway). But I would switch to webhooks if it is true that they will be abolished.

What do you think? And where would there be evidence of a planned shutdown of the API?