isValidFor("api")) { die( json_encode([ "success" => false, "reason" => "apiKey not sufficient or no api key provided", ]) ); } }