linkly

v1.0.3
com.mcparmory/linkly Checked 6 hours ago Published 6 months ago

Create short links, manage domains, and track click analytics

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

add_domain_to_workspace Add Domain to Workspace

Add a new custom domain to your workspace. Ensure DNS CNAME record configuration is completed before adding the domain.

ParameterTypeDescription
workspace_id *integerThe unique identifier of the workspace where the domain will be added.
namestringThe name of the custom domain to add to your workspace.

get_clicks_analytics Get Clicks Analytics

Retrieve click analytics for a workspace with flexible filtering and aggregation options. Returns time-series data suitable for charting, with support for multiple output formats and pivot transformations.

ParameterTypeDescription
workspace_id *stringThe unique identifier of the workspace to retrieve click analytics for.
browserstringFilter results to clicks from a specific browser (e.g., Chrome, Firefox, Safari).
countrystringFilter results to clicks from a specific country using its ISO 3166-1 alpha-2 code (e.g., US, GB, DE).
endstringThe end date for filtering clicks, specified in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ). If omitted, defaults to the current date.
formatstringSpecify the response format: 'json' (default), 'csv', or 'tsv'.
frequencystringThe time granularity for aggregating data points: 'day' (default) for daily buckets or 'hour' for hourly buckets.
ispstringFilter results to clicks from a specific Internet Service Provider.
pivotstringTransform the response into a matrix format where dates appear as rows and links as columns. When set to 'link_id', CSV/TSV responses include header rows with link name, full URL, and ID.
platformstringFilter results to clicks from a specific platform or operating system (e.g., Windows, Mac, iOS, Android).
refererstringFilter results to clicks originating from a specific referrer domain.
startstringThe start date for filtering clicks, specified in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ). If omitted, defaults to the beginning of available data.
timezonestringThe timezone to apply for date and time calculations (e.g., America/New_York). Affects how dates are bucketed and displayed.

get_click_counters_by_dimension Get Click Counters by Dimension

Retrieve aggregated click analytics grouped by a specified dimension (such as country, platform, or browser). Returns click counts for each unique value within the selected dimension, with optional filtering by date range, country, and response format.

ParameterTypeDescription
counter *stringThe dimension to group clicks by. Choose from: country (geographic location), platform (device type), browser (web browser), referer (HTTP referrer), isp (internet service provider), link_id (specific…
workspace_id *stringThe workspace identifier that contains the click analytics data.
countrystringFilter results to a specific country using its ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'DE'). If omitted, all countries are included.
endstringThe end date for filtering analytics data, specified in YYYY-MM-DD format. If omitted, defaults to the current date.
formatstringThe response format for the analytics data. Choose from JSON (default, structured format), CSV (comma-separated values), or TSV (tab-separated values).
startstringThe start date for filtering analytics data, specified in YYYY-MM-DD format. If omitted, defaults to the earliest available data.

list_domains List Domains

Retrieve all custom domains configured for a workspace. These domains can be used as targets when creating short links.

ParameterTypeDescription
workspace_id *stringThe unique identifier of the workspace whose domains you want to list.

add_domain_to_workspace_by_id Add Domain to Workspace

Add a custom domain to a workspace. The domain must have a CNAME record configured in DNS before being added.

ParameterTypeDescription
name *stringThe fully qualified domain name to add (e.g., links.example.com). Ensure the corresponding CNAME record is configured in your DNS provider before adding.
workspace_id *stringThe unique identifier of the workspace where the domain will be added.

delete_domain Delete Domain

Remove a custom domain from your workspace. Once deleted, any links using this domain will no longer be functional.

ParameterTypeDescription
domain_id *stringThe unique identifier of the domain to be removed from the workspace.
workspace_id *stringThe unique identifier of the workspace containing the domain to be deleted.

update_domain_favicon Update Domain Favicon

Update the favicon URL for a custom domain within a workspace. The favicon will be displayed in browser tabs and bookmarks for the domain.

ParameterTypeDescription
id *stringThe unique identifier of the domain whose favicon should be updated. Typically a numeric ID.
workspace_id *stringThe unique identifier of the workspace containing the domain. Typically a numeric ID.
favicon_urlstringA valid URI pointing to the favicon image file. Common formats include .ico, .png, and .svg. If omitted, the favicon will not be updated.

list_workspaces List Workspaces

Retrieve all workspaces accessible to the authenticated user. Use this operation to discover available workspace IDs for use in other API calls.