Complete documentation for the RelURL REST API. Create, manage, and track short links programmatically.
https://relurl.com/apiInclude your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYGet your API key from the dashboard.
| Plan | Rate Limit | Monthly Quota |
|---|---|---|
| Free | 10 req/min | 1,000 requests |
| Pro | 60 req/min | 10,000 requests |
| Enterprise | 300 req/min | Custom |
When a webhook event fires, RelURL sends a POST request to your endpoint with the following payload:
{
"event": "link.clicked",
"linkId": "uuid-of-link",
"country": "US",
"device": "desktop",
"browser": "Chrome",
"os": "Windows",
"isUnique": true,
"timestamp": "2024-01-01T00:00:00.000Z"
}