Adding validation to webhooks