API Docs
v1.0
API Reference
REST API endpoints for managing short links. Every endpoint needs an API key except the public QR download counter.
Base URL:
https://trimlink.coLinks
Create, update, and delete short links
POST
/api/v1/linksPATCH
/api/v1/links/:idDELETE
/api/v1/links/:idPATCH
/api/v1/links/:id/moveAnalytics
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/qrPATCH
/api/v1/links/:id/qrPOST
/api/v1/qr/:id/downloadFolders
Organize links into folders
GET
/api/v1/foldersPOST
/api/v1/foldersPATCH
/api/v1/folders/:idDELETE
/api/v1/folders/:idPATCH
/api/v1/links/:id/moveTags
Create tags and attach them to links
GET
/api/v1/tagsPOST
/api/v1/tagsPATCH
/api/v1/tags/:idDELETE
/api/v1/tags/:idPUT
/api/v1/links/:id/tagsUTM Templates
Save UTM tag sets and apply them to URLs
GET
/api/v1/utm-templatesPOST
/api/v1/utm-templatesPATCH
/api/v1/utm-templates/:idDELETE
/api/v1/utm-templates/:idPOST
/api/v1/utm-templates/:id/applyDomains
Add and manage custom domains
GET
/api/v1/domainsPOST
/api/v1/domainsGET
/api/v1/domains/:idGET
/api/v1/domains/:id/statusDELETE
/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