get_alias
Get Short URL Details
Retrieves full details of a shortened URL including its destinations, meta tags, snippets, and timestamps. Useful for inspecting the current configuration of an alias.
get_alias
Retrieves full details of a shortened URL including its destinations, meta tags, snippets, and timestamps. Useful for inspecting the current configuration of an alias.
create_alias
Creates a new shortened URL (alias) that redirects to one or more destination URLs. Supports vanity aliases, geo/OS-based redirect targeting, custom meta tags for social sharing, and tracking pixel snippets. Use the `@rnd` macro in the alias name to combine custom text with random characters (e.g., "promo/@rnd").
get_clicks
Retrieves click tracking data for a specific shortened URL. Includes details about each click such as browser, OS, country, referrer, and user agent. Results are paginated; use the returned cursor to fetch more.
list_aliases
Lists all alias names for a given domain. Results are paginated; use the returned `lastId` value to fetch subsequent pages.
update_alias
Updates an existing shortened URL's destinations, meta tags, or tracking snippets. Provide only the fields you want to change; omitted fields remain unchanged.
delete_alias
Permanently deletes a shortened URL alias. The alias will no longer redirect to any destination and the short URL will stop working.
Create, retrieve, update, and delete shortened URLs (aliases) that redirect to destination URLs. Configure vanity or random short URL paths, set up geo and OS-based redirect targeting to route users to different destinations by country and device, and attach custom branded domains with free SSL. Track click analytics including referrer, browser, OS, and country data. Customize meta tags for social media previews, add UTM parameters for campaign tracking, and embed retargeting/tracking pixels (snippets) from Facebook, Google Analytics, Pinterest, and more.
Common questions about connecting Shortenrest to AI agents with Metorial.