test add api fnc