View category API call