Refactored the create function
Added the key to the webhook url setting
Adding ips validation