Syndication Integration
You can integrate with the Mentionlink HTML endpoint to support your integration scenarios.
Before sending your content to the syndicators, call https://api.mentionlink.com/v1/pageedit like so and receive the original HTML with product mentions converted to affiliate links.
curl 'https://api.mentionlink.com/v1/pageedit' \
--header 'authorization: Bearer 93666f4e-7c1d-4825-b451-2b1166f66eea' \
--header 'content-type: application/json' \
--data '{"domain":"website.com","body":"<p>I love my new iPad Pro.</p>"}'
# {"body":"<p>I love my new <a title=\"Apple iPad Pro 11-inch (M5): Ultra Retina XDR Display, 256GB, Landscape 12MP Front Camera/12MP Back Camera, LiDAR Scanner, Wi-Fi 7 with Apple N1, Face ID, All-Day Battery Life — Silver\" href=\"https://www.amazon.com/dp/B0FWD1K669/ref=nosim?tag=mentionlink-20\" target=\"_blank\" rel=\"sponsored\" class=\"yncyxrzuhd\">iPad Pro</a>.</p>"}
Note
The API key from the example is for illustrative purposes only. Please reach out to support@mentionlink.com to get your valid API key.