API Overview
The Linquid API is a REST API that allows you to create, manage, and track links programmatically.Base URL
Authentication
All API requests require authentication via Bearer token:Request Format
- Use
Content-Type: application/jsonfor POST/PUT/PATCH requests - Send data as JSON in the request body
Response Format
All responses are JSON with this structure:Success
Error
HTTP Status Codes
| Code | Description |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid/missing API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found |
| 429 | Too Many Requests - Rate limited |
| 500 | Internal Server Error |
Pagination
List endpoints support pagination:Rate Limits
| Plan | Limit |
|---|---|
| Starter | 100/hour |
| Pro | 1,000/hour |
| Enterprise | 10,000/hour |
Filtering
Many endpoints support filtering:Endpoints
Links
GET /links- List linksPOST /links- Create linkGET /links/:id- Get linkPATCH /links/:id- Update linkDELETE /links/:id- Delete link
Rules
GET /rules- List rulesPOST /rules- Create rulePATCH /rules/:id- Update ruleDELETE /rules/:id- Delete rule
Analytics
GET /analytics- Get analytics overviewGET /analytics/:linkId- Get link analyticsGET /analytics/clicks- Get click data
Campaigns
GET /campaigns- List campaignsPOST /campaigns- Create campaignGET /campaigns/:id- Get campaignPATCH /campaigns/:id- Update campaign
Conversions
POST /conversions/s2s- Server-to-server conversion
QR Codes
POST /qr- Generate QR codeGET /qr/:linkId- List QR codes for link
Domains
GET /domains- List domainsPOST /domains- Add domainPOST /domains/:id/verify- Verify domainDELETE /domains/:id- Remove domain
SDKs
Official SDKs are coming soon. In the meantime, use the REST API directly or community libraries.Support
- Email: [email protected]
- Status: https://status.linquid.io