Create or Update a URL Shortener
Creates or updates tracking link. For updates, the id must be set to an existing URL shortener id. For create, the URL shortener id should be set to 0.
Path Parameters
idstringrequired
HTTP Request Examples
{
"previewUrl": "",
"name": "Test Link",
"tenantId": 894,
"url": "http://example.com/",
"alternativeUrl": "",
"password": "",
"maxClicks": 0,
"expirationDate": "9999-12-31T00:00:00",
"forwardParams": true,
"campaignId": 1976,
"total_converted": 0,
"linkDirection": "Outbound",
"linkType": "Page",
"redirectType": "Temporary",
"status": "Active",
"IsEnabled": true,
"TrackingFullUrl": "https://dslnk.co/5z3dzrwk"
}
HTTP Response Examples
200
{
"Status": true,
"Message": "",
"Response": {
"id": "0"
}
}