Fast & Simple
RESTful JSON endpoints with predictable responses and clear error codes.
Create, manage, and track short links programmatically. Simple, fast, and reliable APIs for developers.
curl -X POST https://lnki.io/api/v1/links \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"destination_url": "https://example.com/landing-page",
"slug": "summer-sale"
}'
{
"link": {
"id": 48291,
"short_host_path": "lnki.io/summer-sale",
"destination_url": "https://example.com/landing-page",
"click_count": 0,
"created_at": "2026-10-05T08:34:31.011Z"
}
}
RESTful JSON endpoints with predictable responses and clear error codes.
Authenticate with API keys. Rotate keys anytime from your dashboard.
Built on infrastructure designed for 99.9% uptime and global availability.
Comprehensive docs, SDKs, and examples to get you shipping faster.
Our API gives you full control over your links, analytics, domains, and more.
View full API reference| Method | Endpoint | Description | More |
|---|---|---|---|
| POST | /v1/oauth/token |
Exchange an API key for an access token | |
| POST | /v1/links |
Create a new short link | |
| GET | /v1/links |
List and search your links | |
| PATCH | /v1/links/{id} |
Update a link | |
| POST | /v1/qr_codes |
Create and style a QR code | |
| POST | /v1/imports |
Create up to 500 links at once |
Exchange your API key for an access token, then send it with every request.
Fair usage limits to keep the platform fast for everyone.
All API requests are made to this root endpoint.
Get your API key and start building powerful link experiences today.