API Documentation

Everything you need to integrate ElixpoURL into your applications.

Authentication

ElixpoURL uses API keys for programmatic access. Create keys from your dashboard under Profile > API Keys. Include your key in the Authorization header:

Authorization: Bearer elu_YOUR_API_KEY

Shorten a URL

Create a new short URL by sending a POST request.

curl -X POST https://url.elixpo.com/api/urls \
  -H "Authorization: Bearer elu_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/long-url",
    "title": "My Link",
    "custom_code": "my-link"
  }'
Response
{
  "short_url": "https://url.elixpo.com/my-link",
  "short_code": "my-link",
  "original_url": "https://example.com/long-url",
  "title": "My Link",
  "created_at": "2026-03-20T12:00:00Z"
}

List URLs

Retrieve all your short URLs with pagination and search.

curl https://url.elixpo.com/api/urls?limit=20&offset=0&search=example \
  -H "Authorization: Bearer elu_YOUR_KEY"

Get URL Details

Fetch details for a specific short URL.

curl https://url.elixpo.com/api/urls/my-link \
  -H "Authorization: Bearer elu_YOUR_KEY"

Update a URL

Update the destination, title, or status of a short URL.

curl -X PATCH https://url.elixpo.com/api/urls/my-link \
  -H "Authorization: Bearer elu_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://new-destination.com", "is_active": true}'

Delete a URL

Permanently delete a short URL and its analytics data.

curl -X DELETE https://url.elixpo.com/api/urls/my-link \
  -H "Authorization: Bearer elu_YOUR_KEY"

Analytics

Get click analytics for a URL. Requires Pro tier or above.

curl https://url.elixpo.com/api/urls/my-link/analytics?days=30 \
  -H "Authorization: Bearer elu_YOUR_KEY"
Response
{
  "timeline": [{"date": "2026-03-19", "count": 42}],
  "countries": [{"country": "US", "count": 30}],
  "browsers": [{"browser": "Chrome", "count": 25}],
  "devices": [{"device": "desktop", "count": 35}],
  "referers": [{"referer": "twitter.com", "count": 12}]
}