Actions12
- URL Actions
- QR Code Actions
- Campaign Actions
URL → Shorten URL
AI-generatedSummary
Shorten a long URL into a branded short link, optionally associating it with a campaign, generating a QR code, and enabling tracking.
Inputs
- url (required) — The long destination URL to shorten. Must start with http:// or https://.
- name — Optional display name to help organize your links.
- linkBranding — Choose how to brand your short URL.
- subdomain — Choose one of your verified subdomains. Choose from the list, or specify an ID using an expression.
- brandedDomain — Choose one of your verified branded domains. Choose from the list, or specify an ID using an expression.
- campaignOption — Choose whether to associate this short URL with a campaign.
- campaignId — Choose one of your campaigns. Choose from the list, or specify an ID using an expression.
- newCampaignName — Enter a name for the new campaign.
- isDynamic — Whether to create a dynamic short URL (302 redirect that can be updated later).
- trackingEnabled — Whether to track click analytics for this short URL.
- qrCode — Whether to generate a trackable QR code alongside the short URL.
- qrFormat — Format for the returned QR code.
Output shape
a single JSON object representing the created short URL
Includes fields such as short_code, short_url, destination_url, campaign_id, tracking_enabled, is_dynamic, QR code metadata, and safety_status when applicable; all fields are optional except short_code and short_url.
Examples
Example 1: Shorten a long URL with default branding and tracking enabled.
url=https://example.com/very-long-url, linkBranding=standard
Example 2: Create a subdomain branded short URL and associate it with an existing campaign.
url=https://example.com/long-url, linkBranding=subdomain, subdomain=promo, campaignOption=existing, campaignId=123
Example 3: Generate a QR code for the short URL in image format.
url=https://example.com/long-url, qrCode=true, qrFormat=image