Take another stab at the api endpoint