alerts api method added