support both webhooks and wehbook