Basic api calls working