Update to remove redundat 'api' from endpoint