You can use an HTTP trigger to build serverless APIs and respond to webhooks.
In this video, I will explain in details all aspects behind building an http trigger azure function, explain the different available authorization keys and demonstrate how we can configure it as webhook that could be used as a call back function by common tools such as Github.