Use the API for link creation