Base URL
All API requests should be made to:Authentication
Public API endpoints are authenticated via API key in theX-API-Key header.
Dashboard/session endpoints use session authentication and CSRF protection.
Request Format
- All request bodies must be JSON
- Include
Content-Type: application/jsonheader for POST/PUT/PATCH requests
Response Format
All responses follow a consistent format:Success Response
Success Response (List)
Error Response
HTTP Status Codes
| Code | Description |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request - Invalid input |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource doesn’t exist |
| 409 | Conflict - Resource already exists |
| 429 | Too Many Requests - Rate limited |
| 500 | Internal Server Error |
Common Error Codes
| Code | Description |
|---|---|
INVALID_API_KEY | API key is invalid or disabled |
UNAUTHORIZED | Authentication required |
FORBIDDEN | Insufficient permissions for this action |
NOT_FOUND | Requested resource not found |
VALIDATION_ERROR | Request body validation failed |
RATE_LIMITED | Too many requests |
INSUFFICIENT_CREDITS | Workspace has insufficient credits |
FEATURE_NOT_AVAILABLE | Feature not available on current plan |
Pagination
List endpoints support pagination:| Parameter | Description | Default |
|---|---|---|
page | Page number (1-indexed) | 1 |
limit | Items per page | 20 |
Filtering
Many list endpoints support filtering:Timestamps
All timestamps are returned in ISO 8601 format (UTC):IDs
Resources use prefixed IDs for easy identification:| Prefix | Resource |
|---|---|
link_ | Links |
rule_ | Rules |
camp_ | Campaigns |
px_ | Pixels |
dom_ | Domains |
ws_ | Workspaces |
API Endpoints
Links
Create and manage smart links
Rules
Configure routing rules
Campaigns
Organize links into campaigns
Analytics
Access click and conversion data
Conversions
Track conversion events
Pixels
Manage tracking pixels
Advanced Modules
Workspace, billing, integrations, affiliate, partner, and security APIs
Workspaces
Manage workspaces, members, invitations, and ownership transfer
Billing
Plans, credits, subscriptions, and auto-recharge APIs
Customers & Events
Customer entities, event streams, cohorts, and attribution APIs
Integrations
Integration install/configuration, provider callbacks, and outbound webhooks
Affiliate & Partner
Program-owner APIs, marketplace flows, and partner-portal APIs
Webhooks
Workspace, link-level, and automation webhook management
Auth & Settings
Session auth lifecycle, linked accounts, and user settings APIs
Domains & Organization
Domain onboarding, tags, folders, and UTM template APIs
Tracking Modules
QR, deep-link attribution, publishable key, and SDK tracking APIs
Data Operations
Search, bulk operations, imports, and async export pipelines
Utilities & Support
FX rates, notifications, feedback, metatags, email logs, and wrapped APIs
Identity & Enterprise
OAuth apps, SAML SSO, and SCIM provisioning APIs
Public & Embed
Public stats and embedded analytics/link creation surfaces

