🚀 Boot your first request
Generate an API key from Dashboard → API Keys, then send requests over HTTPS.
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"}'🔑 Bearer token handshake
Include your API key in the Authorization header on every request.
Authorization: YOUR_API_KEY🌐 Endpoint root
https://slighturl.com📦 Transmission headers
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: application/json⚡ Available operations
Create a new short URL.
{
"longUrl": "https://example.com",
"alias": "custom_alias",
"expiresAt": "2026-12-31T23:59:59Z"
}🧩 Client libraries
Official SDKs are in development. For now, any HTTP client works — fetch, axios, requests, or cURL.
💬 Open a channel
Need help wiring the API into your stack? Contact support or browse the help center.
