📄 API Documentation
REST API — Premium plan only • Use X-Api-Key header
POST
/api/linksCreate a short link.
Headers
X-Api-Keyrequired — your API key
Content-Typeapplication/json
Body (JSON)
destrequired — destination URL
aliasoptional — custom slug, auto-generated if omitted
labeloptional — friendly name
Example
Loading...
GET
/api/links/infoCheck a link status, destination, clicks, and more.
Query Params
aliasrequired — the alias to check
Example
Loading...
PUT
/api/links/updateEdit an existing link. Only send fields you want to change.
Body (JSON)
aliasrequired — alias of the link to edit
destoptional — new destination URL
labeloptional — new label
Example
Loading...
Error Codes
401Invalid or missing API key
403Premium plan required / limit reached
404Link not found
409Alias already taken