Make proper API call