Api now working