API Endpoint working - but not tested