route to api not app