Short links बनाने और मैनेज करने के लिए REST API

REST API के जरिए short links बनाएं, एडिट करें और हटाएं। Products, services और automation workflows में तेज integration के लिए JSON responses, API keys, OpenAPI / Swagger documentation और webhook notifications का उपयोग करें।

# Create a short link $ curl -X POST https://lix.li/api/1.0/links -H "X-Api-Key: lix_live_XXXX" -H "Content-Type: application/json" -d '{"url": "https://example.com/very/long/page", "alias": "demo", "tags" : ["sale", "promo"]}'
# Response { "id": "9053352", "alias": "demo", "short_url": "https://lix.li/demo", "url": "https://example.com/very/long/page", "title": null, "group": null, "created_datetime": "2023-05-23T22:56:57+03:00", "tags": ["sale", "promo"] }

Developers Lix.li API क्यों चुनते हैं

तेज़ integration, साफ documentation और real-world workflows व automation के लिए बनाया गया API।

REST API

साफ REST conventions, स्पष्ट HTTP methods और predictable response codes। बिना unnecessary complexity या non-standard patterns के integration।

JSON Responses

सभी endpoints के लिए structured JSON responses। Predictable fields, consistent data format और आसान client-side processing।

API Keys

Bearer tokens के जरिए authentication। Dashboard से सीधे key management, rotation और access revoke करें।

OpenAPI / Swagger

Interactive documentation जिसमें request examples, responses और browser में सीधे API testing उपलब्ध है।

Predictable Endpoints

Resources और URLs की logical structure: /links, /groups, /analytics, /webhooks। पढ़ने, उपयोग करने और maintain करने में आसान।

Fast Integration

API को standard HTTP clients, backend applications, automation services या internal tools के साथ उपयोग करें। Products, CRM, SaaS और backend workflows के लिए उपयुक्त।

Lix.li API क्या कर सकता है

एक ही REST API के जरिए short links बनाएं और analytics, domains, groups तथा automation मैनेज करें।

Short Links API

API के जरिए short links बनाएं, एडिट करें, डिलीट करें और प्राप्त करें। Bulk operations, pagination, filtering और link management का समर्थन।

Groups & Tags API

API के जरिए groups, tags, projects और workspaces के साथ links व्यवस्थित करें। Teams, campaigns और large-scale integrations के लिए उपयुक्त।

Automation API

Link shortening को CRM, marketing platforms, internal services और automation workflows के साथ integrate करें।

Link Analytics API

API के जरिए clicks, देशों, devices, browsers, traffic sources और UTM campaigns का डेटा प्राप्त करें।

Tracking Pixels API

Google, Hotjar, Yandex, TikTok और अन्य tracking pixels को API के जरिए मैनेज करें और उन्हें short links व workflows से जोड़ें।

Custom Domains API

API के जरिए branded domains जोड़ें और मैनेज करें। Products और campaigns में अपनी खुद की short URLs का उपयोग करें।

Webhooks API

Clicks, link creation, updates और limits के लिए real-time events। Webhooks के जरिए किसी भी service के साथ integration।

Security और Expiration API Management

API के जरिए passwords, expiration dates, click limits और access rules कॉन्फ़िगर करें।

ऐसी API Documentation जिसे समझना आसान है

OpenAPI / Swagger, interactive testing, ready-to-use request examples और तेज integration के लिए साफ documentation।

  • OpenAPI 3.0 specification
  • Testing के लिए Swagger UI
  • curl, Python और Node.js examples
  • हर field और response code का विवरण
  • Integration सहायता
  • आसान API client generation
API Documentation खोलें
https://lix.li/api/1.0
POST /links Link बनाएं
GET /links Links की सूची
GET /links/{id} Link प्राप्त करें
PATCH /links/{id} Link एडिट करें
DELETE /links/{id} Link हटाएं
GET /analytics Analytics
GET /groups Groups
POST /webhooks Webhook बनाएं

Short Links API और URL Shortener API कहाँ उपयोग किए जाते हैं

Products, services और automation workflows जहाँ short links API का उपयोग real-world scenarios में किया जाता है।

SaaS Products

User interfaces, referral programs, onboarding flows, notifications और product workflows के भीतर short links।

Marketing Platforms

UTM tags, analytics और tracking pixels के साथ campaigns, publications, channels और ads के लिए automatic link creation।

CRM Systems

CRM systems में customers, email sequences, deals और user workflow tracking के लिए personalized short links।

Automation Workflows

Zapier, Make, n8n और internal workflows के साथ integration। API के जरिए automatic link creation, updates और management।

Internal Tools

Manual URL management के बिना admin panels, dashboards, service tools और internal products में short links।

Analytics Pipelines

BI systems, custom dashboards, data pipelines और internal reporting के लिए API के जरिए clicks, traffic और analytics data प्राप्त करें।

Short Links API के साथ शुरुआत करें

Documentation, request examples, Swagger UI और बिना unnecessary setup के तेज शुरुआत। कुछ ही मिनटों में API को अपने product, service या automation workflow से जोड़ें।

Short Links API के बारे में अक्सर पूछे जाने वाले सवाल

API आपको short links बनाने, एडिट करने, डिलीट करने और प्राप्त करने देता है, साथ ही groups, tags, custom domains, tracking pixels, analytics और webhook notifications को मैनेज करने की सुविधा देता है। सब कुछ JSON responses के साथ REST API के जरिए उपलब्ध है।
हाँ। API standard HTTP methods (GET, POST, PATCH, DELETE), साफ URL structure, semantic endpoints और predictable response codes का उपयोग करता है। सभी responses JSON format में लौटाए जाते हैं।
JSON। हर endpoint predictable fields के साथ structured data लौटाता है। Errors में debugging और troubleshooting के लिए code, message और अतिरिक्त context शामिल होता है।
हाँ। Interactive Swagger UI, request examples और browser में सीधे API testing के साथ OpenAPI 3.0 specification उपलब्ध है।
Authentication X-Api-key header में tokens के जरिए किया जाता है। API keys को dashboard से create, rotate और revoke किया जा सकता है।
API limits आपके चुने हुए plan पर निर्भर करते हैं। Current restrictions और rate limit status API responses और documentation में उपलब्ध हैं।
Webhooks system events होने पर आपके endpoint पर HTTP requests भेजते हैं: link creation, clicks, updates या limit events। इससे लगातार API polling किए बिना real-time data प्राप्त किया जा सकता है।
हाँ। Analytics endpoint clicks, देशों, devices, browsers, traffic sources और अन्य metrics का डेटा देता है। Dates, links, groups और data ranges के अनुसार filters समर्थित हैं।
Testing के लिए basic API access उपलब्ध है। Available features और limits आपके plan पर निर्भर करते हैं। Advanced functionality paid plans में उपलब्ध है।
हाँ। API लगातार विकसित हो रहा है: नए endpoints, बेहतर documentation, अतिरिक्त webhook events और नई automation capabilities जोड़ी जा रही हैं। Compatibility बनाए रखने के लिए changes versioned हैं।
Bank cards, Bitcoin (BTC), TON और USDT (TRC20) supported हैं। Enterprise customers के लिए invoice billing उपलब्ध है।