def post_webhook(self, **params):
        req_args = ['callback_url', 'failure_notif_url']
        all_args = [
            'callback_url', 'failure_notif_url', 'filter_to', 'filter_from',
            'filter_cc', 'filter_subject', 'filter_thread',
            'filter_new_important', 'filter_file_name', 'filter_folder_added',
            'filter_folder_removed', 'filter_to_domain', 'filter_from_domain',
            'include_body', 'body_type', 'include_parsed_receipts'
        ]

        webhook = super(Account, self).post(
            uri="webhooks", params=params, return_bool=False, all_args=all_args, required_args=req_args)

        if bool(webhook['success']) is False:
            return False

        return WebHook(self, {'webhook_id': webhook['webhook_id']})
Create a new WebHook on an account.
dataset/ETHPy150Open contextio/Python-ContextIO/contextio/lib/resources/account.py/Account.post_webhook