api init outsourced