SancharyaAI
by Marketingko
Developer Reference • v2.4

Sancharya REST API Documentation

Production endpoints for programmatic employee management, speed-to-lead webhook dispatch, and lifetime credit billing.

1 Credit = ₹1 INR (Lifetime)
Wallet Cockpit
Available Endpoints
GET/api/dashboard/summary

Dashboard KPI Summary

Returns real-time aggregated metrics, fleet statistics, wallet balance, and recent activity timeline.

curl -X GET "https://app.marketingko.in/api/dashboard/summary" \
  -H "Content-Type: application/json"
Schema Response Example
{
  "success": true,
  "metrics": {
    "totalEmployees": 2,
    "activeEmployees": 2,
    "totalCalls": 148,
    "connectedCalls": 122,
    "pickupRate": "82%",
    "totalMinutes": 340,
    "totalLeads": 52,
    "conversionRate": "28.5%",
    "activeVirtualNumbers": 2
  },
  "wallet": {
    "creditsBalance": 1500,
    "perMinuteAgentRate": 6,
    "exchangeRate": "1 Credit = ₹1 INR",
    "validity": "Lifetime (Never Expires)"
  }
}