Add getLink to API