change webhook api name to webhooks and complete the test example for webhooks.