pull api value from config