frontend alerts "API"