API Reference
Authenticate with an API key and call Linky's REST API v1. Available on the Business plan.
14+
Endpoints
3
Webhook events
JSON
Request body
Same fields as the dashboard create form
01 // Authentication
Authentication
Create an API key in Dashboard → Settings. Send it on every request:
02 // Quick example
Create a link via curl
curl -X POST "https://your-site.com/api/v1/links" \
-H "Authorization: Bearer lk_your_api_key" \
-H "Content-Type: application/json" \
-d '{"originalUrl":"https://example.com","slug":"launch"}'Create keys in your dashboard under Settings (Business plan).
03 // Endpoints
Links
Core link CRUD and analytics endpoints.
04 // Domains & keys
Domains & webhooks
Manage custom domains and outbound webhooks programmatically.
- GET/POST /api/v1/domains — list and add domains
- GET/POST/DELETE /api/v1/webhooks — manage webhooks
- GET/POST/DELETE /api/v1/api-keys — manage API keys
05 // Webhooks
Webhooks payload
Outbound POST requests include event type, timestamp, and link data. Verify signatures using the secret shown when you create the webhook.
link.createdNew short link saved
link.updatedDestination or metadata changed
link.clickedVisitor clicked — includes geo/device
- ·Events: link.created, link.updated, link.clicked
- ·HTTPS endpoints only
- ·Retry on 5xx responses
06 // FAQ
API questions
Automate your link stack.
Upgrade to Business for API keys, webhooks, and audit log access.