Get api calls working again