Create a short link
Changed onCreates a short link that redirects to the target URL and tracks click metrics.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/short-links
- AuthHTTP bearer
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"
}Changes
- breaking
the request's body type changed from no type to
object
- breaking
- breaking
added the pattern
^https://to the request property/ - breaking
added the pattern
^https://to the request property/ - breaking
the
/request property format changed from no format touri - breaking
the
/request property format changed from no format touri - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
removed from the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status - info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking