Use the api session