Actions29
- Account Actions
- Pool Actions
- Short Link Actions
- Upload Actions
- Webhook Actions
Short Link → Create
AI-generatedSummary
Create a new short link with optional rules and additional fields.
Inputs
- url (required) — The long URL that the short link will redirect to
- rules — Fixed collection of conditional redirect rules (type, destination, country codes, languages, etc.).
- additionalFields — Extra custom fields such as slug, title, imageUrl, bot protection settings, etc.
Output shape
a list of created short link objects (one per link)
The response includes fields like id, slug, and any configured rules; may contain additional metadata. Errors are returned as failed items.
Examples
Example 1: Create a simple short link redirecting to a target URL.
url: https://example.com
Example 2: Create a short link with a geo rule that redirects to different URLs by country.
url: https://example.com, rules: [{type: geo, destination: https://us.example.com}], additionalFields: {priority: 5}
Example 3: Create a short link with bot protection and a custom slug.
url: https://example.com, botProtection: true, slug: my-video