Use correct api routes