Contact
API · v1

URL Shortener

Authenticated endpoint. Shortened URLs expire after 30 minutes.

Shorten a URL

GET /api/public/short?Short=https://example.com
Header: x-api-key: <YOUR_SECRET_KEY>

Response

{
  "short_url": "https://your-host/s/aB3xY7q",
  "code": "aB3xY7q",
  "expires_in_seconds": 1800,
  "expires_at": "..."
}

Follow a short link

GET /s/<code>  →  302 redirect (or 410 if expired)