Build powerful integrations with the Routiq REST API. Create links, track clicks, and manage routing rules programmatically.
Create an API key from your dashboard. Include it in the Authorization header.
Authorization: Bearer rq_your_api_key_herecurl -X POST https://routiq.link/api/v1/links \
-H "Authorization: Bearer rq_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/my-page",
"slug": "my-link"
}'Response:
{
"success": true,
"data": {
"id": "clk_abc123",
"shortUrl": "https://routiq.link/my-link",
"originalUrl": "https://example.com/my-page",
"clicks": 0,
"createdAt": "2024-01-31T12:00:00Z"
}
}https://routiq.link/api/v1All API endpoints are relative to this base URL.
Include your API key in the Authorization header of every request:
Authorization: Bearer rq_your_api_keyAPI keys start with rq_ prefix.
/api/v1/linksCreate a new smart link
/api/v1/linksList all links
Query params: page, limit, search
/api/v1/links/:idGet link details
/api/v1/links/:idUpdate a link
/api/v1/links/:idDelete a link
/api/v1/links/:id/statsGet link analytics
| Plan | Requests/Second | Requests/Day |
|---|---|---|
| Free | 10 | 1,000 |
| Pro | 50 | 50,000 |
| Enterprise | 100 | Unlimited |
| Code | Description |
|---|---|
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid or missing API key |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource doesn't exist |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error |
Get your API key and start integrating in minutes.
Get Free API Key →