API Docs
v1.0
API Reference
REST API endpoints for managing short links. All endpoints require authentication.
Base URL:
https://trimlink.coLinks
Create, read, update, and delete short links
POST
/api/v1/shortenGET
/api/v1/linksGET
/api/v1/links/:idPATCH
/api/v1/links/:idDELETE
/api/v1/links/:idAnalytics
Get click statistics and geographic data
GET
/api/v1/stats/:codeQR Codes
Generate and manage QR codes for links
POST
/api/v1/links/:id/qrGET
/api/v1/links/:id/qrGET
/api/v1/qr/:id/downloadFolders
Organize links into folders
GET
/api/v1/foldersPOST
/api/v1/foldersPATCH
/api/v1/folders/:idDELETE
/api/v1/folders/:idPOST
/api/v1/links/:id/moveDomains
Add and manage custom domains
GET
/api/v1/domainsPOST
/api/v1/domainsGET
/api/v1/domains/:idPOST
/api/v1/domains/:id/verifyDELETE
/api/v1/domains/:idRelated Documentation
- Authentication — API keys, scopes, and security
- Webhooks — Real-time event notifications
- Rate Limits — Request limits and best practices
- Error Codes — HTTP status codes and error handling