ShortyyDocs

Link Expiration & Discrete Snap-Points

Learn how Shortyy manages link lifecycles, TTL calculations, and plan-specific expiration limits.

Link Expiration & Discrete Snap-Points

Shortyy supports granular, plan-aware link expiration. When a link expires, it automatically stops redirecting visitors and enters the tombstone registry.


Supported Durations

When calling POST /v1/links, you can specify either the expires_in relative duration string or an absolute ISO-8601 expires_at timestamp:

Duration StringEquivalent SecondsTypical Use Case
30m1,800 secTemporary OTP login links, short-lived verification codes
1h3,600 secCustomer support sessions, temporary download links
1d86,400 secDaily marketing newsletters, ephemeral webinars
7d604,800 secWeekly promotional campaigns, invoice links
1mo2,592,000 secMonthly release notes, subscription renewals
6mo15,552,000 secSemi-annual documentation versions
100y (Permanent)3,153,600,000 secPermanent redirects, canonical documentation

Plan Expiration Ceilings

The authenticated user's tier strictly determines the maximum allowable link lifetime:

▪
Free Tier: Maximum link lifetime is 3 hours (10800s). Requests specifying longer durations are automatically clamped or rejected.
▪
Basic Tier: Maximum link lifetime is 30 days.
▪
Pro Tier: Support for up to 100 years (virtually permanent links).