Adding API call