Ensure that we are calling the API correctly