351c1f004617
Create or update a link
Create a new link or update an existing one. Include an 'id' field to update an existing link. Can also accept an array of links for batch operations.
Path parameters
The id of the Workspace
Request body
Facebook Pixel ID
TikTok Pixel ID
Hide referrer from destination
Link expiration date/time
Redirect URL after expiry
Domain ID (alternative to domain name)
Enable link cloaking
Words to linkify
Open Graph description
Skip tracking social media crawlers
Custom HTML tags for body
Open Graph title
Private note about this link
Nickname for the link
Link ID (include to update existing link)
Google Tag Manager ID
Open Graph image URL
Block bot traffic
Whether the link is active
The destination URL
URL parameter replacements
QR code styling options
Webhook URLs
Expire link after this many clicks
Make analytics publicly accessible
Custom slug (must start with /)
Custom domain (without trailing /)
Forward query parameters to destination
Custom HTML tags for head
Google Analytics 4 Tag ID
Example request
{
"rules": [
{}
]
}Response
Link
Lifetime clicks with no bot signal — the subset of clicks_total where neither a bot user-agent nor a verified-bot category was detected. Recorded from 2019 onward.
Daily human clicks over the last 30 days, oldest first.
Clicks in the last 30 days, including bot traffic.
Clicks so far today (UTC), including bot traffic.
Lifetime clicks, including bot traffic.
Clicks in the last 30 days with no bot signal — the subset of clicks_thirty_days.
Clicks so far today (UTC) with no bot signal.
Clicks yesterday (UTC) with no bot signal.
Example response
{
"rules": [
{}
]
}