Move external api calls to thirdparty app