Link shortener
Create a short link
Creates a short link that redirects to the target URL and tracks click metrics.
post/v1/short-links
Request body
Example request
{
"link": "https://your-site.com/long-url",
"expiration_time": "2023-07-19T18:18:34.235Z",
"fallback_url": "https://examples.com/fallback",
"phone": "15155982927",
"utm_campaign": "summer_promo"
}Response
Returns the created short link.
Example response
{
"short_link": "https://wx.com/hd82Jhs21"
}