Occurs whenever a link is clicked (or when its QR code is scanned).
You can scope which links trigger a link.clicked webhook. When creating or editing the webhook in the dashboard, choose one of the following:
All links – trigger the webhook for every link in your workspace.
Include specific folders (recommended) – trigger the webhook for all links in the selected folders.
Include specific links – trigger the webhook only for the links you explicitly select.
If you select the 3rd option, you can programmatically associate specific links with your link.clicked webhook by passing the webhook ID under the webhookIdsprop when creating or updating a link.
Response body parameters
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
string
The event ID.
string
The event type that triggered the webhook (e.g., link.clicked).
string
ISO 8601 timestamp when the webhook event was created.
object
Event-specific data containing detailed information about the event. The data object for the link.clicked event contains the following parameters:
Hide object parameters
object
Details about the click event.
Show click object
string
Unique identifier for the click.
string
ISO 8601 timestamp when the click occurred.
string
The destination URL that was visited.
string
Country code (e.g. US).
string
City name.
string
Region or region code.
string
Continent code (e.g. NA).
string
Device type (e.g. Desktop, Mobile).
string
Browser name (e.g. Chrome).
string
Operating system (e.g. Mac OS).
string | null
User agent string.
string | null
How the click was triggered (e.g. link, qr, or deeplink).
string
Referrer hostname or (direct).
string
Full referrer URL or (direct).
boolean
Whether the click came from a QR code scan.
string
IP address of the visitor.
object
The link resource that was clicked (full link object including stats such as clicks, shortLink, url, etc.).