create_short_url
Shorten a long URL with optional custom slug, tags, expiration, and visit limits.
Instructions
Create a new shortened URL in Shlink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| long_url | Yes | ||
| max_visits | No | ||
| custom_slug | No | ||
| valid_until | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Associated tags | |
| long_url | Yes | The original long URL | |
| short_url | Yes | The shortened URL | |
| short_code | Yes | The short code | |
| date_created | Yes | Creation date in ISO 8601 format | |
| visits_count | Yes | Number of visits |