🚀 Getting Started
Generate an API key from Dashboard → API Keys, then send requests using HTTP.
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"}'🔑 Authentication
Include your API key in the Authorization header.
Authorization: YOUR_API_KEY🌐 Base URL
https://slighturl.com📦 Required Headers
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: application/json⚡ API Endpoints
Create a new short URL.
Request Body
{
"longUrl": "https://example.com",
"alias": "custom_alias",
"expiresAt": "2026-12-31T23:59:59Z"
}📦 SDKs & Libraries
SDKs will be available soon. For now, use fetch/axios/cURL.
💬 Support
Need help? Contact support or check the help center.
