API Reference
Authenticate with an API key and call Linky's REST API v1. Available on the Business plan.
Same fields as the dashboard create form
14+
Endpoints
3
Webhook events
JSON
Request body
Authentication
Authentication
Create an API key in Dashboard → Developers. Send it on every request:
- Header: Authorization: Bearer lk_your_api_key
- Base URL: your Linky site + /api/v1
- JSON request and response bodies unless noted
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).
Endpoints
Links
Core link CRUD and analytics endpoints.
/api/v1/linksList links/api/v1/linksCreate link/api/v1/links/{id}Get link/api/v1/links/{id}Update link/api/v1/links/{id}Delete link/api/v1/links/bulkBulk create (CSV)/api/v1/links/{id}/clicksAnalytics JSON/CSV/api/v1/links/{id}/qrQR PNG or SVG/api/v1/links/{id}/rulesList rules/api/v1/links/{id}/rulesAdd rule/api/v1/domainsList domains/api/v1/domainsAdd domain/api/v1/webhooksList webhooks/api/v1/webhooksRegister webhookDomains and 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
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
FAQ
What happens if my plan downgrades from Business?
Existing API keys stop authenticating. Webhooks are not delivered. Upgrade again to restore access.
Get started
Automate your link stack.
Upgrade to Business for API keys, webhooks, and audit log access.