Comprehensive tools for managing your shortened URLs:
- Create (POST) – backend/api/common/urls/create.php
Body: long_url (required), custom_slug, expires_at, is_active, url_password, expiration_type, expiration_value, target_type, countries, redirect_url, utm_source, utm_medium, utm_campaign, tracking_pixels (object), link_space, primary_category, secondary_category - Expand (GET) – backend/api/common/urls/expand.php?short_code=CODE
- Get (GET) – backend/api/common/urls/get.php?short_code=CODE
- Update (POST) – backend/api/common/urls/update.php
Body: short_code (required), long_url, is_active, expires_at, primary_category, secondary_category, url_password, expiration_type, expiration_value, target_type, countries, redirect_url, utm_source, utm_medium, utm_campaign, tracking_pixels (object), link_space - Delete (GET) – backend/api/common/urls/delete.php?short_code=CODE
- List (GET) – backend/api/common/urls/list.php
Query: sort_by, sort_order, search, filter_active, filter_expired, filter_category, limit, offset - Get Categories (GET) – backend/api/common/get-categories.php
Tip: Send Authorization: Bearer KEY and X-API-Key: KEY headers on every request.