[3.8] Add API webhooks mechanism