ADD call to plug-in rest api

Hi,

I am writng a plug-in that should trigger a doorbell sound when it’s called. But I would like to be able to add features to the api http call possible so I can trigger it