Info of the link to shorten
url required | string URL to shorten |
team required | string Team ID (displayed on dashboard) |
folder | string Folder ID (displayed on dashboard) |
code | string^[a-zA-Z0-9!-]{3,50}$ Custom short code |
label | string Label |
password | string Password |
expired_at | string Expiration date |
{- "url": "string",
- "team": "string",
- "folder": "string",
- "code": "string",
- "label": "string",
- "password": "string",
- "expired_at": "string"
}
{- "url": "string",
- "expired_at": "string",
- "team": 0,
- "folder": 0,
- "url_code": "xMs5c",
- "domain": "urlr.me",
- "code": 200
}
Infos to provide to get statistics of a link
code required | string^[a-zA-Z0-9!-]{3,50}$ The short code of the URL |
from | string Get stats from this date |
to | string Get stats until this date |
includeBots | boolean Whether include bots or not in statistics |
{- "code": "string",
- "from": "dd/mm/yyyy",
- "to": "dd/mm/yyyy",
- "includeBots": true
}
{- "clicks": 32,
- "uniqueClicks": 51
}
Infos to provide to get folders of team
team required | integer Team ID (displayed on dashboard) |
{- "team": 123
}
{- "folders": [
- {
- "id": 123,
- "name": "folder-campaign-google-ads"
}
]
}