mobile api as preference