Be sure that you have registered an endpoint with your desired URL first before attempting to create an alert: