linkledger

v0.1.0
io.github.CloudCorpRecords/linkledger Checked 1 day ago Published 16 days ago

Manage your Linkly short links, domains, webhooks and click analytics.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

test_authentication

Test API Authentication

list_workspaces

Return details of authenticated workspace

update_workspace

Update workspace settings. Only the fields provided are changed; omitted fields keep their current values.

ParameterTypeDescription
namestringWorkspace name
webhooksarrayREPLACES the workspace's full webhook subscription list. Omit to leave webhooks unchanged; prefer subscribe_webhook / unsubscribe_webhook for adding or removing a single URL.

ping

Health check: sends a message to the hosted Linkly server and returns its reply unchanged, confirming the service is reachable and responding.

ParameterTypeDescription
message *stringa message to ping , default to Hello From Linkkly

get_clicks

Get recent click data for the workspace

ParameterTypeDescription
link_idintegerOptional: filter clicks by link ID

get_analytics

Get time-series click analytics data for charting. Returns click counts over time.

ParameterTypeDescription
botsstringBot filtering: include (default), exclude, or only
browserstringFilter by browser name
countrystringFilter by country code (e.g., 'US', 'GB')
endstringEnd date in YYYY-MM-DD format (default: today)
frequencystringTime granularity: 'day' (default) or 'hour'
link_idintegerFilter by specific link ID
platformstringFilter by platform (e.g., 'desktop', 'mobile', 'tablet')
startstringStart date in YYYY-MM-DD format (default: 30 days ago)
uniquebooleanCount unique clicks only (by IP)

get_analytics_by

Get click counts grouped by a dimension (country, platform, referrer, etc.). Useful for breakdowns and top-N reports.

ParameterTypeDescription
counter *stringDimension to group by (required)
botsstringBot filtering
countrystringFilter by country code
endstringEnd date in YYYY-MM-DD format (default: today)
link_idintegerFilter by specific link ID
platformstringFilter by platform
startstringStart date in YYYY-MM-DD format (default: 30 days ago)
uniquebooleanCount unique clicks only

export_clicks

Export detailed click records with full information (timestamp, browser, country, URL, platform, referer, bot, ISP, params).

ParameterTypeDescription
botsstringBot filtering
countrystringFilter by country code
endstringEnd date in YYYY-MM-DD format (default: yesterday)
link_idintegerFilter by specific link ID
platformstringFilter by platform
startstringStart date in YYYY-MM-DD format (default: 30 days ago)

list_domains

List all custom domains in the workspace.

create_domain

Add a custom domain to the workspace. The domain must be configured to point to Linkly's servers.

ParameterTypeDescription
name *stringThe domain name (e.g., 'links.example.com')

delete_domain

Remove a custom domain from the workspace.

ParameterTypeDescription
domain_id *integerThe ID of the domain to delete

update_domain_favicon

Update the favicon URL for a custom domain.

ParameterTypeDescription
domain_id *integerThe ID of the domain to update
favicon_url *stringURL to the favicon image

list_webhooks

List all webhook URLs subscribed to the workspace. These receive click events for all links.

subscribe_webhook

Subscribe a webhook URL to receive click events for all links in the workspace.

ParameterTypeDescription
url *stringThe webhook URL to receive click event notifications

unsubscribe_webhook

Unsubscribe a webhook URL from workspace click events.

ParameterTypeDescription
url *stringThe webhook URL to unsubscribe