Shorten URL
shorten_urlShorten a URL to a short link, optionally adding a name and UTM parameters. Each creation uses one credit.
Instructions
Create a short link for a URL. Consumes one credit. Returns the created link including its short URL and id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The destination URL to shorten. | |
| name | No | Optional human-friendly label for the link. | |
| utmSource | No | Optional utm_source value appended to the destination URL. | |
| utmCampaign | No | Optional utm_campaign value appended to the destination URL. |