create_link
Create short links with custom domains, tracking parameters, and expiration settings to simplify URL sharing and management.
Instructions
Create a new Linkly short link. Returns the created link with its short URL.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The destination URL for the link (required) | |
| name | No | A nickname for the link to identify it later | |
| note | No | A private note about this link | |
| domain | No | Custom domain for the short link (without trailing /) | |
| slug | No | Custom slug/suffix for the link (must start with /) | |
| enabled | No | Whether the link is active (default: true) | |
| utm_source | No | UTM source parameter | |
| utm_medium | No | UTM medium parameter | |
| utm_campaign | No | UTM campaign parameter | |
| utm_term | No | UTM term parameter | |
| utm_content | No | UTM content parameter | |
| og_title | No | Open Graph title for social media previews | |
| og_description | No | Open Graph description for social media previews | |
| og_image | No | Open Graph image URL for social media previews | |
| fb_pixel_id | No | Meta/Facebook Pixel ID for tracking | |
| ga4_tag_id | No | Google Analytics 4 tag ID | |
| gtm_id | No | Google Tag Manager container ID | |
| cloaking | No | Hide destination URL by opening in an iframe | |
| forward_params | No | Forward URL parameters to the destination | |
| block_bots | No | Block known bots and spiders from following the link | |
| hide_referrer | No | Hide referrer information when users click | |
| expiry_datetime | No | ISO 8601 datetime when the link should expire | |
| expiry_destination | No | Fallback URL after expiry (404 if blank) |