Add api for links