add new api for get links