Create Link
Creates a new link in Linkly.
Query
Comma-separated response fields to include.
Body
URL. Required to create a new link.
Optional display name for the link.
Optional custom short-code slug. Linkly's current runtime rejects custom slug values in this workspace with `slug must be empty`.
Optional internal note for the link.
Optional domain for the link.
Whether the link is enabled.
Whether to forward query parameters to the destination URL.
Whether to hide the referrer.
Whether to enable cloaking.
Whether to block bots.
Optional UTM source parameter.
Optional UTM medium parameter.
Optional UTM campaign parameter.
Optional UTM term parameter.
Optional UTM content parameter.
Optional custom body tags.
Whether the link should be marked deleted.
Optional Facebook Pixel ID.
Optional Google Analytics 4 tag ID.
Optional Google Tag Manager ID.
Optional custom head tags.
Optional linkify words configuration.
Optional Open Graph description.
Optional Open Graph image URL.
Optional Open Graph title.
Optional replacement rules string.
Whether the link should be marked as spam.
Optional array of redirect rule objects. Use the nested Rules fields below to define each rule.
What the redirect rule matches against.
Destination URL to use when the rule matches.
Source URL or pattern evaluated by the rule when applicable.
Traffic percentage for percentage-based rules.
Match expression for the redirect rule.