How to use custom alert scripts to notify webhook

I’m testing urbackup appliance and want to send notifications to a webhook about all backup operations.
When succesful or not.
Is there any example alert script to do this?

Thank’s very much!