SLIGHTURL // ONLINE
SlightURL - Free URL Shortener, QR Code Generator, and File Sharing Service
[ DEVELOPER ENGINE // REST API v1.0 ]STATUS: ONLINE

Build with the SlightURL API

Create short links programmatically, pull click analytics, and automate your workflows — all from a single REST endpoint.

REST
Protocol
JSON
Data Standard
HTTPS
Security
99.9%
Uptime
👤
STEP 01

Create a free account

Sign up in seconds — no credit card. Your account unlocks analytics, link management, and full API access.

Create Account →
🔑
STEP 02

Generate your API token

Dashboard → Settings → API Keys. One click to generate. Rotate or revoke any time — each token is scoped to your account.

API Token (example)

sk_live_7f4a2b9c1e3d8f6a0b5c2e4d7f1a3b6c

Sample Only
Go to Dashboard →
🚀
STEP 03

Make your first API call

POST to /api/links with your Bearer token in the Authorization header. Short URL returned instantly — no polling.

📊
STEP 04

Track clicks & analytics

Every link is tracked automatically. Click counts, referrers, and geo data — all live in your dashboard.

View Dashboard →
[ GETTING STARTED ]STEP 01

🚀 Boot your first request

Generate an API key from Dashboard → API Keys, then send requests over HTTPS.

> Example (cURL)

curl -X POST https://slighturl.com/api/links/create \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"longUrl":"https://example.com","alias":"custom_alias"}'
bash
[ AUTHENTICATION ]REQUIRED

🔑 Bearer token handshake

Include your API key in the Authorization header on every request.

Authorization: YOUR_API_KEY
http
[ BASE URL ]

🌐 Endpoint root

https://slighturl.com
text
[ REQUIRED HEADERS ]

📦 Transmission headers

Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: application/json
http
[ API ENDPOINTS ]v1.0

⚡ Available operations

POST/api/links/create

Create a new short URL.

> Request body

{
  "longUrl": "https://example.com",
  "alias": "custom_alias",
  "expiresAt": "2026-12-31T23:59:59Z"
}
json
[ SDKS & LIBRARIES ]SOON

🧩 Client libraries

Official SDKs are in development. For now, any HTTP client works — fetch, axios, requests, or cURL.

[ SUPPORT ]

💬 Open a channel

Need help wiring the API into your stack? Contact support or browse the help center.