Get short link clicks
get_short_link_clicksUse this when the user asks how many times a short link was clicked, or where, when or on what device. Group by individual click, date, country, region or device, with an optional date range. For scans of a QR code use get_qrcode_scans. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"idshorturl": "<idshorturl>"
},
"name": "get_short_link_clicks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Two-letter country code. Required when group_by is region. | |
| end_date | No | End of the period, YYYY-MM-DD. Leave empty for today. | |
| group_by | No | scan for individual clicks, or date, country, region or device for totals. | scan |
| per_page | No | Results per page, 5 to 100. | |
| idshorturl | Yes | Short link ID from `list_short_links`. Never guess an ID. | |
| start_date | No | Start of the period, YYYY-MM-DD. Leave empty for the last 30 days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||