Links
Get link details
Changed onRetrieve a specific link by its ID: destination, short URL, UTM parameters, rules and configuration. Click counts are not included — use getClicks for a time series, or listLinks for per-link totals.
get/api/v1/link/{id}
Request
- Base URLhttps://api.linklyhq.com
- AuthAPI key in query parameter api_key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The id of the Link
Query parameters
workspace_idstring
Workspace ID. Optional when using OAuth2 Bearer token.
Response
Link
Example response
{
"fb_pixel_id": null,
"linkedin_partner_id": null,
"microsoft_uet_tag_id": null,
"reddit_pixel_id": null,
"tiktok_pixel_id": null,
"hide_referrer": false,
"expiry_datetime": null,
"expiry_destination": null,
"rules": [],
"twitter_pixel_id": null,
"cloaking": false,
"linkify_words": null,
"full_url": "https://l.linklyhq.com/l/1uXyz",
"sticky_rotator": false,
"og_description": null,
"skip_social_crawler_tracking": false,
"body_tags": null,
"og_title": null,
"note": null,
"name": "Summer sale — newsletter",
"id": 41657524,
"gtm_id": null,
"og_image": null,
"block_bots": false,
"snapchat_pixel_id": null,
"utm_content": null,
"enabled": true,
"privacy_mode": false,
"url": "https://www.example.com/summer-sale?ref=newsletter",
"replacements": null,
"deleted": false,
"qr_styles": null,
"webhooks": [],
"created_by_user_id": 7,
"expiry_clicks": null,
"notify_slack": false,
"notify_user_ids": [],
"workspace_id": 42,
"public_analytics": false,
"pinterest_tag_id": null,
"password": null,
"utm_source": "newsletter",
"slug": null,
"domain": null,
"forward_params": false,
"utm_medium": "email",
"head_tags": null,
"ga4_tag_id": null,
"utm_term": null,
"utm_campaign": "summer_sale"
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info