Manage links, routing rules, and analytics programmatically via a simple HTTP API. Authenticate with one header — no OAuth, no token refresh.
One API key in the X-Api-Key header. Generate it in Profile → Integration in seconds.
Create, update, and delete smart links with routing rules, custom slugs, expiration dates, and click limits.
Links API →Create up to 100 links in one request. Each item is processed independently with per-item error reporting.
Bulk create →Retrieve click stats for a single link or all workspace links — broken down by country, device, browser, referrer, and day.
Analytics API →Two requests — create a link, then get its analytics:
Create a link
curl -X POST https://api.revolink.link/apiv1/link/create \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workspaceId": "YOUR_WORKSPACE_ID",
"url": "https://yoursite.com",
"slug": "my-link"
}'Get analytics
curl "https://api.revolink.link/apiv1/links/LINK_ID/analytics?workspaceId=YOUR_WORKSPACE_ID&from=2025-01-01&to=2025-12-31" \ -H "X-Api-Key: YOUR_API_KEY"
Find your credentials in Profile → Integration. See the Authentication guide for full setup instructions.