add get links api