Create a short link
Link shortener
Create a short link
Creates a short link.
POST
Create a short link
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Body
application/json
Short link configuration.
Target URL to shorten.
Example:
"https://your-site.com/long-url"
Expiration date and time in ISO 8601 format.
Example:
"2023-07-19T18:18:34.235Z"
Fallback URL for expired or invalid links.
Example:
"https://examples.com/fallback"
Phone number for the short link.
Example:
"15155982927"
UTM campaign name for tracking insights.
Example:
"summer_promo"
Response
Short link created.
Generated short URL.
Example:
"https://wx.com/hd82Jhs21"