The Quickleap API provides programmatic access to manage domain redirects, analytics, and rules. Build powerful integrations to automate redirect workflows and access comprehensive analytics data.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dishant0406/quickleap/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
All API requests are made to:Available resources
Redirects
Manage domain redirects with full control over redirect types, path forwarding, query forwarding, and analytics sampling. Key endpoints:POST /add-redirect- Create a new redirectGET /get-redirects/me- Get all redirects for authenticated userPUT /update/:id- Update an existing redirectDELETE /delete-redirect/:id- Delete a redirectPOST /verify-domain- Verify domain ownership status
Analytics
Access comprehensive analytics data for your redirects, including traffic patterns, geographic distribution, device information, and more. Key endpoints:GET /analytics/redirect/:redirectId/stats/basic- Basic statisticsGET /analytics/redirect/:redirectId/stats/time- Time-based analyticsGET /analytics/redirect/:redirectId/stats/geo- Geographic dataGET /analytics/redirect/:redirectId/stats/devices- Device informationGET /analytics/redirect/:redirectId/stats/referrers- Referrer dataGET /analytics/redirect/:redirectId/dashboard- Dashboard summaryGET /analytics/redirect/:redirectId/hits- Raw hit data with pagination
Rules
Create conditional redirects based on user attributes like location, device, browser, referrer, and time. Key endpoints:GET /rules/redirect/:redirectId- Get all rules for a redirectPOST /rules/redirect/:redirectId- Create a new rulePUT /rules/:ruleId- Update a ruleDELETE /rules/:ruleId- Delete a rulePUT /rules/redirect/:redirectId/reorder- Reorder rule prioritiesPOST /rules/:ruleId/duplicate- Duplicate a ruleGET /rules/attributes- Get available attributes and operators
Response format
All API responses return JSON with the following structure:Success responses
Error responses
Error responses include an HTTP status code and error details:HTTP status codes
The API uses standard HTTP status codes:| Status Code | Description |
|---|---|
200 | Success - Request completed successfully |
201 | Created - Resource created successfully |
400 | Bad Request - Invalid request parameters |
401 | Unauthorized - Missing or invalid authentication |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource not found |
422 | Unprocessable Entity - Validation error |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Server error |
Error handling
Handle errors gracefully by checking the HTTP status code and parsing the error response:Rate limiting
The API implements rate limiting to ensure fair usage across all users. Rate limits vary by plan:Rate limit information is included in response headers:
X-RateLimit-Limit- Maximum requests allowedX-RateLimit-Remaining- Remaining requests in current windowX-RateLimit-Reset- Time when the rate limit resets (Unix timestamp)
429 Too Many Requests response:
Pagination
Endpoints that return lists support pagination using query parameters:| Parameter | Description | Default |
|---|---|---|
page | Page number (1-indexed) | 1 |
limit | Items per page (max 100) | 20 |
Query parameters
Many analytics endpoints support filtering by date range:| Parameter | Description | Format |
|---|---|---|
start | Start date for filtering | ISO 8601 (e.g., 2024-01-01T00:00:00Z) |
end | End date for filtering | ISO 8601 (e.g., 2024-01-31T23:59:59Z) |
interval | Time interval for time-series data | hour, day, week, month |
Content type
All requests must include theContent-Type: application/json header. The API accepts and returns JSON only.
Request and response data is automatically trimmed of leading and trailing whitespace to prevent common formatting issues.
Next steps
Authentication
Learn how to authenticate API requests
Redirects
Manage domain redirects
Analytics
Access analytics data
Rules
Create conditional redirects