LinkBit
v1.0.4Shorten URLs, bulk create, QR, and click analytics for LinkBit.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
shorten_url
Create a short URL. Optional UTM fields are merged without overwriting existing utm_* params.
| Parameter | Type | Description |
|---|---|---|
destination * | string | |
note | string | |
slug | string | |
utm_campaign | string | |
utm_content | string | |
utm_medium | string | |
utm_source | string | |
utm_term | string |
shorten_urls
Bulk-create short URLs. Each item may include slug and utm_* fields.
| Parameter | Type | Description |
|---|---|---|
urls * | array |
list_links
List the authenticated user's short links.
update_link
Update destination, slug, note, UTM fields, or disabled flag for a link id.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
destination | string | |
disabled | boolean | |
note | string | |
slug | string | |
utm_campaign | string | |
utm_content | string | |
utm_medium | string | |
utm_source | string | |
utm_term | string |
disable_link
Disable a short link so it no longer redirects. Pass disabled=false to re-enable. Destructive: visitors will get an error instead of the destination.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
disabled | boolean |
delete_link
Permanently delete a short link. This cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string |
get_qr
Download a QR code for a link. format=png|svg, optional color, logo, print.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
color | string | |
format | string | |
logo | boolean | |
print | boolean |
get_link_stats
Click statistics for one link id. Optional from/to (YYYY-MM-DD) and the usual country/device/referrer/daily breakdowns.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
from | string | |
to | string |
get_analytics
Account-level analytics overview.