alert_response api modified