Alerts api method added